mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Removed unused imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Message, Interaction, CommandInteraction, BaseInteraction } from 'discord.js';
|
||||
import { Message, CommandInteraction, BaseInteraction } from 'discord.js';
|
||||
|
||||
import Users from '../services/Users';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Message, CommandInteraction, Interaction } from 'discord.js';
|
||||
import { Message, CommandInteraction } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import Environment from '../providers/Environment';
|
||||
|
||||
@@ -14,9 +14,6 @@ import {
|
||||
EmbedBuilder,
|
||||
ButtonStyle,
|
||||
ActionRowBuilder,
|
||||
ActionRowData,
|
||||
ActionRowComponent,
|
||||
MessageActionRowComponentBuilder
|
||||
} from 'discord.js';
|
||||
|
||||
import DiscordProvider from '../providers/Discord';
|
||||
|
||||
@@ -1,16 +1,11 @@
|
||||
import {
|
||||
Message,
|
||||
CommandInteraction,
|
||||
Interaction,
|
||||
VoiceChannel,
|
||||
Permissions,
|
||||
GuildMember,
|
||||
DMChannel,
|
||||
StageChannel,
|
||||
ActionRowBuilder,
|
||||
ButtonBuilder,
|
||||
TextChannel,
|
||||
VoiceBasedChannel,
|
||||
PermissionsBitField,
|
||||
ButtonStyle,
|
||||
BaseGuildTextChannel,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||
import { I18n } from "i18n";
|
||||
|
||||
import DiscordProvider from "../../providers/Discord";
|
||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||
import Locale from "../../services/Locale";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Message, CommandInteraction, Interaction, TextChannel } from 'discord.js';
|
||||
import { Message, CommandInteraction } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import DiscordMusicPlayer, {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||
import { I18n } from "i18n";
|
||||
|
||||
import DiscordProvider from "../../providers/Discord";
|
||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||
|
||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Message, CommandInteraction, BaseInteraction, ActionRowBuilder, ButtonInteraction, SelectMenuBuilder, SelectMenuComponentOptionData } from "discord.js";
|
||||
import { Message, CommandInteraction, ActionRowBuilder, ButtonInteraction, SelectMenuBuilder, SelectMenuComponentOptionData } from "discord.js";
|
||||
import { I18n } from "i18n";
|
||||
|
||||
import { joinVoiceChannelProcedure } from "./Join";
|
||||
@@ -7,7 +7,7 @@ import DiscordMusicPlayer, { TrackUtils, ValidTracks } from "../../providers/Dis
|
||||
import Locale from "../../services/Locale";
|
||||
|
||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
||||
import { makeErrorEmbed, makeSuccessEmbed, sendHybridInteractionMessageResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||
import { makeErrorEmbed, sendHybridInteractionMessageResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||
|
||||
const EMBEDS = {
|
||||
SEARCH_INFO: (data: HybridInteractionMessage, locale: I18n) => {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
||||
|
||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||
import { Message, CommandInteraction } from "discord.js";
|
||||
import { makeSuccessEmbed, makeErrorEmbed, sendHybridInteractionMessageResponse } from "../../utils/DiscordMessage";
|
||||
import DiscordProvider from "../../providers/Discord";
|
||||
|
||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||
import { I18n } from "i18n";
|
||||
import Locale from "../../services/Locale";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { CommandInteraction, Message, Interaction } from 'discord.js';
|
||||
import { CommandInteraction, Message } from 'discord.js';
|
||||
import os from 'os';
|
||||
import NodePing from 'ping';
|
||||
import { Promise } from 'bluebird';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { Message, Permissions, Interaction, CommandInteraction, PermissionsBitField } from 'discord.js';
|
||||
import { Message, CommandInteraction, PermissionsBitField } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import DiscordModule, { HybridInteractionMessage } from '../utils/DiscordModule';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Permissions, Guild, PermissionFlagsBits, PermissionsBitField } from 'discord.js';
|
||||
import { Guild, PermissionsBitField } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import DiscordProvider from '../../providers/Discord';
|
||||
import Prisma from '../../providers/Prisma';
|
||||
import Cache from '../../providers/Cache';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Permissions, Guild, PermissionFlagsBits, PermissionsBitField } from 'discord.js';
|
||||
import { Guild, PermissionsBitField } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import DiscordProvider from '../../providers/Discord';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Permissions, Guild, GuildChannel, ThreadChannel, Message, PermissionsBitField, PermissionFlags, PermissionFlagsBits, PermissionResolvable } from 'discord.js';
|
||||
import { Guild, GuildChannel, ThreadChannel, Message, PermissionsBitField } from 'discord.js';
|
||||
import { I18n } from 'i18n';
|
||||
|
||||
import DiscordProvider from '../../providers/Discord';
|
||||
import Prisma from '../../providers/Prisma';
|
||||
import Cache from '../../providers/Cache';
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import DiscordModule, { HybridInteractionMessage } from '../../utils/DiscordModu
|
||||
import {
|
||||
makeInfoEmbed,
|
||||
makeErrorEmbed,
|
||||
makeSuccessEmbed,
|
||||
makeProcessingEmbed,
|
||||
sendHybridInteractionMessageResponse
|
||||
} from '../../utils/DiscordMessage';
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
BaseGuildTextChannel,
|
||||
Message,
|
||||
ColorResolvable,
|
||||
Interaction,
|
||||
InteractionReplyOptions,
|
||||
BaseInteraction,
|
||||
BaseGuildVoiceChannel,
|
||||
|
||||
Reference in New Issue
Block a user