Skip to content

Commit

Permalink
ref: remove unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzDerock committed Sep 25, 2022
1 parent 7a2fa66 commit 1513bae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/generator/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Awaitable, Channel, ChannelType, DMChannel, Emoji, Message, Role, User } from "discord.js";
import { Awaitable, Channel, ChannelType, DMChannel, Message, Role, User } from "discord.js";
import ReactDOMServer from "react-dom/server";
import React, { Fragment } from "react";
import React from "react";
import { DiscordHeader, DiscordMessages } from "@derockdev/discord-components-react";
import renderMessage from "./renderers/message";
import renderContent, { RenderType } from "./renderers/content";
Expand Down
2 changes: 1 addition & 1 deletion src/generator/renderers/embed.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DiscordEmbed, DiscordEmbedDescription, DiscordEmbedField, DiscordEmbedFields, DiscordEmbedFooter, DiscordReply } from "@derockdev/discord-components-react";
import { DiscordEmbed, DiscordEmbedDescription, DiscordEmbedField, DiscordEmbedFields, DiscordEmbedFooter } from "@derockdev/discord-components-react";
import { Embed, Message } from "discord.js";
import React from 'react';
import { RenderMessageContext } from "..";
Expand Down
2 changes: 1 addition & 1 deletion src/generator/renderers/message.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DiscordAttachments, DiscordCommand, DiscordMessage, DiscordReaction, DiscordReactions, DiscordThread, DiscordThreadMessage } from '@derockdev/discord-components-react';
import { Message, UserFlags } from 'discord.js';
import { Message } from 'discord.js';
import React from 'react';
import { RenderMessageContext } from "..";
import { parseDiscordEmoji } from '../../utils/utils';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/buildProfiles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GuildIconFormat, GuildMember, Message, User, UserFlags } from "discord.js";
import { GuildMember, Message, User, UserFlags } from "discord.js";

export type Profile = {
author: string; // author of the message
Expand Down

0 comments on commit 1513bae

Please sign in to comment.