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';
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import Environment from '../providers/Environment';
|
import Environment from '../providers/Environment';
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ import {
|
|||||||
EmbedBuilder,
|
EmbedBuilder,
|
||||||
ButtonStyle,
|
ButtonStyle,
|
||||||
ActionRowBuilder,
|
ActionRowBuilder,
|
||||||
ActionRowData,
|
|
||||||
ActionRowComponent,
|
|
||||||
MessageActionRowComponentBuilder
|
|
||||||
} from 'discord.js';
|
} from 'discord.js';
|
||||||
|
|
||||||
import DiscordProvider from '../providers/Discord';
|
import DiscordProvider from '../providers/Discord';
|
||||||
|
|||||||
@@ -1,16 +1,11 @@
|
|||||||
import {
|
import {
|
||||||
Message,
|
Message,
|
||||||
CommandInteraction,
|
CommandInteraction,
|
||||||
Interaction,
|
|
||||||
VoiceChannel,
|
VoiceChannel,
|
||||||
Permissions,
|
|
||||||
GuildMember,
|
|
||||||
DMChannel,
|
DMChannel,
|
||||||
StageChannel,
|
StageChannel,
|
||||||
ActionRowBuilder,
|
ActionRowBuilder,
|
||||||
ButtonBuilder,
|
ButtonBuilder,
|
||||||
TextChannel,
|
|
||||||
VoiceBasedChannel,
|
|
||||||
PermissionsBitField,
|
PermissionsBitField,
|
||||||
ButtonStyle,
|
ButtonStyle,
|
||||||
BaseGuildTextChannel,
|
BaseGuildTextChannel,
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { I18n } from "i18n";
|
import { I18n } from "i18n";
|
||||||
|
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
import Locale from "../../services/Locale";
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import DiscordMusicPlayer, {
|
import DiscordMusicPlayer, {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { I18n } from "i18n";
|
import { I18n } from "i18n";
|
||||||
|
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
|
|
||||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
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 { I18n } from "i18n";
|
||||||
|
|
||||||
import { joinVoiceChannelProcedure } from "./Join";
|
import { joinVoiceChannelProcedure } from "./Join";
|
||||||
@@ -7,7 +7,7 @@ import DiscordMusicPlayer, { TrackUtils, ValidTracks } from "../../providers/Dis
|
|||||||
import Locale from "../../services/Locale";
|
import Locale from "../../services/Locale";
|
||||||
|
|
||||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
||||||
import { makeErrorEmbed, makeSuccessEmbed, sendHybridInteractionMessageResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeErrorEmbed, sendHybridInteractionMessageResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
SEARCH_INFO: (data: HybridInteractionMessage, locale: I18n) => {
|
SEARCH_INFO: (data: HybridInteractionMessage, locale: I18n) => {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import DiscordModule, { HybridInteractionMessage } from "../../utils/DiscordModule";
|
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 { makeSuccessEmbed, makeErrorEmbed, sendHybridInteractionMessageResponse } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
import { I18n } from "i18n";
|
import { I18n } from "i18n";
|
||||||
import Locale from "../../services/Locale";
|
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 os from 'os';
|
||||||
import NodePing from 'ping';
|
import NodePing from 'ping';
|
||||||
import { Promise } from 'bluebird';
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import DiscordModule, { HybridInteractionMessage } from '../utils/DiscordModule';
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import DiscordProvider from '../../providers/Discord';
|
|
||||||
import Prisma from '../../providers/Prisma';
|
import Prisma from '../../providers/Prisma';
|
||||||
import Cache from '../../providers/Cache';
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import DiscordProvider from '../../providers/Discord';
|
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 { I18n } from 'i18n';
|
||||||
|
|
||||||
import DiscordProvider from '../../providers/Discord';
|
|
||||||
import Prisma from '../../providers/Prisma';
|
import Prisma from '../../providers/Prisma';
|
||||||
import Cache from '../../providers/Cache';
|
import Cache from '../../providers/Cache';
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import DiscordModule, { HybridInteractionMessage } from '../../utils/DiscordModu
|
|||||||
import {
|
import {
|
||||||
makeInfoEmbed,
|
makeInfoEmbed,
|
||||||
makeErrorEmbed,
|
makeErrorEmbed,
|
||||||
makeSuccessEmbed,
|
|
||||||
makeProcessingEmbed,
|
makeProcessingEmbed,
|
||||||
sendHybridInteractionMessageResponse
|
sendHybridInteractionMessageResponse
|
||||||
} from '../../utils/DiscordMessage';
|
} from '../../utils/DiscordMessage';
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import {
|
|||||||
BaseGuildTextChannel,
|
BaseGuildTextChannel,
|
||||||
Message,
|
Message,
|
||||||
ColorResolvable,
|
ColorResolvable,
|
||||||
Interaction,
|
|
||||||
InteractionReplyOptions,
|
InteractionReplyOptions,
|
||||||
BaseInteraction,
|
BaseInteraction,
|
||||||
BaseGuildVoiceChannel,
|
BaseGuildVoiceChannel,
|
||||||
|
|||||||
Reference in New Issue
Block a user