mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Removed unused imports
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { Guild } from ".prisma/client";
|
import { Guild } from ".prisma/client";
|
||||||
import { Message } from "discord.js";
|
|
||||||
import Logger from "../libs/Logger";
|
import Logger from "../libs/Logger";
|
||||||
import Cache from "../providers/Cache";
|
import Cache from "../providers/Cache";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import { CommandInteraction, Interaction, Message } from "discord.js";
|
import { CommandInteraction, Interaction, Message } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse, sendReply, makeInfoEmbed } from "../utils/DiscordMessage";
|
import { sendMessageOrInteractionResponse, makeInfoEmbed } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import Cache from "../providers/Cache";
|
import Cache from "../providers/Cache";
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import { Message, Interaction, CommandInteraction } from "discord.js";
|
import { Message, Interaction, CommandInteraction } from "discord.js";
|
||||||
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse, sendReply } from "../utils/DiscordMessage";
|
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
|
||||||
import {registerAllGuildsCommands, unregisterAllGuildsCommands} from "../utils/DiscordInteraction";
|
import {registerAllGuildsCommands, unregisterAllGuildsCommands} from "../utils/DiscordInteraction";
|
||||||
import Prisma from "../providers/Prisma";
|
|
||||||
import Users from "../services/Users";
|
import Users from "../services/Users";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../utils/DiscordMessage";
|
import { sendMessageOrInteractionResponse, makeInfoEmbed } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import Users from "../services/Users"
|
import Users from "../services/Users"
|
||||||
import Environment from "../providers/Environment";
|
import Environment from "../providers/Environment";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { GuildChannel, GuildMember, Message, Permissions, TextChannel, MessageActionRow, MessageButton, Interaction, CommandInteraction, Role, ThreadChannel, MessageEmbedFooter } from "discord.js";
|
import { GuildChannel, GuildMember, Message, Permissions, TextChannel, MessageActionRow, MessageButton, Interaction, CommandInteraction, Role, ThreadChannel } from "discord.js";
|
||||||
import App from "..";
|
import App from "..";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, makeInfoEmbed, makeErrorEmbed, sendMessage, sendReply, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
import { makeSuccessEmbed, makeInfoEmbed, makeErrorEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
||||||
import Logger from "../libs/Logger";
|
import Logger from "../libs/Logger";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import Prisma from "../providers/Prisma";
|
import Prisma from "../providers/Prisma";
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel, Permissions, GuildMember, DMChannel, StageChannel, MessageActionRow, MessageButton, MessageAttachment, TextChannel } from "discord.js";
|
import { Message, CommandInteraction, Interaction, VoiceChannel, Permissions, GuildMember, DMChannel, StageChannel, MessageActionRow, MessageButton, TextChannel } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import Users from "../../services/Users"
|
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { PlayerPlayingEvent, PlayerErrorEvent, VoiceDisconnectedEvent, ValidTracks, DiscordMusicPlayerInstance } from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer, { PlayerPlayingEvent, PlayerErrorEvent, VoiceDisconnectedEvent, ValidTracks, DiscordMusicPlayerInstance } from "../../providers/DiscordMusicPlayer";
|
||||||
import Discord from "../../providers/Discord";
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
VOICECHANNEL_JOINED: (data: Message | Interaction) => {
|
VOICECHANNEL_JOINED: (data: Message | Interaction) => {
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeSuccessEmbed, makeErrorEmbed, sendMessageOrInteractionResponse } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import Users from "../../services/Users"
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { DiscordMusicPlayerInstance } from "../../providers/DiscordMusicPlayer";
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
VOICECHANNEL_LEFT: (data: Message | Interaction) => {
|
VOICECHANNEL_LEFT: (data: Message | Interaction) => {
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import { Message, CommandInteraction, Interaction, MessageActionRow, TextChannel, MessageButton } from "discord.js";
|
import { Message, CommandInteraction, Interaction, MessageActionRow, TextChannel, MessageButton } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeErrorEmbed, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import Users from "../../services/Users"
|
import DiscordMusicPlayer, { ValidTracks } from "../../providers/DiscordMusicPlayer";
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { DiscordMusicPlayerInstance, ValidTracks, Queue } from "../../providers/DiscordMusicPlayer";
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
NOW_PLAYING: (data: Message | Interaction, track: ValidTracks) => {
|
NOW_PLAYING: (data: Message | Interaction, track: ValidTracks) => {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel, MessageActionRow, Permissions, MessageButton, TextChannel } from "discord.js";
|
import { Message, CommandInteraction, Interaction, VoiceChannel, MessageActionRow, MessageButton, TextChannel } from "discord.js";
|
||||||
import { makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeErrorEmbed, makeSuccessEmbed, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { ValidTracks } from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer, { ValidTracks } from "../../providers/DiscordMusicPlayer";
|
||||||
import { joinVoiceChannelProcedure } from "./Join";
|
import { joinVoiceChannelProcedure } from "./Join";
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel, TextChannel } from "discord.js";
|
import { Message, CommandInteraction, Interaction, TextChannel } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeErrorEmbed, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import Users from "../../services/Users"
|
import DiscordMusicPlayer, { Queue } from "../../providers/DiscordMusicPlayer";
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { DiscordMusicPlayerInstance, ValidTracks, Queue } from "../../providers/DiscordMusicPlayer";
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
QUEUE: (data: Message | Interaction, queue: Queue) => {
|
QUEUE: (data: Message | Interaction, queue: Queue) => {
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel, MessageActionRow, DMChannel, TextChannel, MessageSelectMenu, MessageSelectOptionData, GuildMember } from "discord.js";
|
import { Message, CommandInteraction, Interaction, MessageActionRow, TextChannel, MessageSelectMenu, MessageSelectOptionData } from "discord.js";
|
||||||
import { makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeErrorEmbed, makeSuccessEmbed, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer, { ValidTracks } from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer, { ValidTracks } from "../../providers/DiscordMusicPlayer";
|
||||||
import Prisma from "../../providers/Prisma";
|
|
||||||
import { joinVoiceChannelProcedure } from "./Join";
|
import { joinVoiceChannelProcedure } from "./Join";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction, VoiceChannel } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeErrorEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../../utils/DiscordMessage";
|
import { makeSuccessEmbed, makeErrorEmbed, sendMessageOrInteractionResponse } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import Users from "../../services/Users"
|
|
||||||
import Environment from "../../providers/Environment";
|
|
||||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
+1
-2
@@ -2,9 +2,8 @@ import { CommandInteraction, Message, Interaction } from "discord.js";
|
|||||||
import { makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
import { makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import NodePing from "ping";
|
import NodePing from "ping";
|
||||||
import { Promise, reject } from "bluebird";
|
import { Promise } from "bluebird";
|
||||||
import os from "os";
|
import os from "os";
|
||||||
import Logger from "../libs/Logger";
|
|
||||||
import Environment from "../providers/Environment";
|
import Environment from "../providers/Environment";
|
||||||
import Configuration from "../providers/Configuration";
|
import Configuration from "../providers/Configuration";
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
import { Message, Permissions, Interaction, CommandInteraction } from "discord.js";
|
import { Message, Permissions, Interaction, CommandInteraction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse, sendReply, makeErrorEmbed, makeInfoEmbed } from "../utils/DiscordMessage";
|
import { makeSuccessEmbed, sendMessageOrInteractionResponse, makeErrorEmbed, makeInfoEmbed } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
SAY_INFO: (data: Message | Interaction) => {
|
SAY_INFO: (data: Message | Interaction) => {
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import { Message, Interaction, CommandInteraction, Permissions, ThreadChannel, GuildChannel } from "discord.js";
|
import { Message, Interaction, CommandInteraction, Permissions, ThreadChannel, GuildChannel } from "discord.js";
|
||||||
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse, sendReply } from "../utils/DiscordMessage";
|
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import {registerAllGuildsCommands, unregisterAllGuildsCommands} from "../utils/DiscordInteraction";
|
|
||||||
import Prisma from "../providers/Prisma";
|
import Prisma from "../providers/Prisma";
|
||||||
import Users from "../services/Users";
|
|
||||||
import Cache from "../providers/Cache";
|
import Cache from "../providers/Cache";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import { Message, CommandInteraction, Interaction } from "discord.js";
|
import { Message, CommandInteraction, Interaction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, sendMessage, sendMessageOrInteractionResponse, makeInfoEmbed } from "../utils/DiscordMessage";
|
import { sendMessageOrInteractionResponse, makeInfoEmbed } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import Users from "../services/Users"
|
|
||||||
import Environment from "../providers/Environment";
|
|
||||||
import os from "os-utils";
|
import os from "os-utils";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { Message, Permissions, Interaction, CommandInteraction } from "discord.js";
|
import { Message, Interaction, CommandInteraction } from "discord.js";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, sendMessageOrInteractionResponse, sendReply, makeErrorEmbed, makeInfoEmbed } from "../utils/DiscordMessage";
|
import { sendMessageOrInteractionResponse, makeErrorEmbed, makeInfoEmbed } from "../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../providers/Discord";
|
|
||||||
import { getColorFromURL } from "color-thief-node";
|
import { getColorFromURL } from "color-thief-node";
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
import { Message, MessageEmbed, Interaction, CommandInteraction, TextChannel } from "discord.js";
|
import { Message, Interaction, CommandInteraction } from "discord.js";
|
||||||
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, makeWarningEmbed, sendMessageOrInteractionResponse, sendMessage } from "../../utils/DiscordMessage";
|
import { makeInfoEmbed, makeErrorEmbed, sendMessageOrInteractionResponse } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
|
||||||
import { registerAllGuildsCommands, unregisterAllGuildsCommands } from "../../utils/DiscordInteraction";
|
|
||||||
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
import DiscordMusicPlayer from "../../providers/DiscordMusicPlayer";
|
||||||
import Users from "../../services/Users";
|
import Users from "../../services/Users";
|
||||||
|
|
||||||
|
|
||||||
const EMBEDS = {
|
const EMBEDS = {
|
||||||
FAKEERROR_INFO: (data: Message | Interaction) => {
|
FAKEERROR_INFO: (data: Message | Interaction) => {
|
||||||
return makeInfoEmbed({
|
return makeInfoEmbed({
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
import { Message, MessageEmbed, Interaction, CommandInteraction, TextChannel } from "discord.js";
|
import { Message, MessageEmbed, Interaction, CommandInteraction, TextChannel } from "discord.js";
|
||||||
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, makeWarningEmbed, sendMessageOrInteractionResponse, sendMessage } from "../../utils/DiscordMessage";
|
import { makeInfoEmbed, makeErrorEmbed, makeSuccessEmbed, makeProcessingEmbed, makeWarningEmbed, sendMessageOrInteractionResponse, sendMessage } from "../../utils/DiscordMessage";
|
||||||
import DiscordProvider from "../../providers/Discord";
|
import DiscordProvider from "../../providers/Discord";
|
||||||
import { registerAllGuildsCommands, unregisterAllGuildsCommands } from "../../utils/DiscordInteraction";
|
|
||||||
import Prisma from "../../providers/Prisma";
|
import Prisma from "../../providers/Prisma";
|
||||||
import Users from "../../services/Users";
|
import Users from "../../services/Users";
|
||||||
|
|
||||||
import { Promise, reject } from "bluebird";
|
import { Promise } from "bluebird";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import Logger from "../../libs/Logger";
|
import Logger from "../../libs/Logger";
|
||||||
|
|||||||
+3
-6
@@ -1,11 +1,8 @@
|
|||||||
import { GuildChannel, GuildMember, Message, Permissions, TextChannel, MessageActionRow, MessageButton, Interaction, CommandInteraction, Role, ThreadChannel } from "discord.js";
|
import { Message, MessageActionRow, MessageButton, Interaction, CommandInteraction } from "discord.js";
|
||||||
import App from "..";
|
import { makeInfoEmbed, makeErrorEmbed, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
||||||
import { getEmotes, makeSuccessEmbed, makeProcessingEmbed, makeInfoEmbed, makeErrorEmbed, sendMessage, sendReply, sendMessageOrInteractionResponse } from "../utils/DiscordMessage";
|
|
||||||
import Logger from "../libs/Logger";
|
|
||||||
import DiscordProvider from "../providers/Discord";
|
|
||||||
import Prisma from "../providers/Prisma";
|
import Prisma from "../providers/Prisma";
|
||||||
import osuAPI from "../providers/osuAPI";
|
import osuAPI from "../providers/osuAPI";
|
||||||
import { countryCodeEmoji, emojiCountryCode } from "country-code-emoji";
|
import { countryCodeEmoji } from "country-code-emoji";
|
||||||
import countryLookup from "country-code-lookup";
|
import countryLookup from "country-code-lookup";
|
||||||
import validator from 'validator';
|
import validator from 'validator';
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import App from '../providers/App';
|
|||||||
|
|
||||||
class NativeException {
|
class NativeException {
|
||||||
|
|
||||||
|
|
||||||
public process (): void {
|
public process (): void {
|
||||||
|
|
||||||
process.on('uncaughtException', exception => {
|
process.on('uncaughtException', exception => {
|
||||||
@@ -20,8 +19,6 @@ class NativeException {
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default new NativeException;
|
export default new NativeException;
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
import Logger from "../libs/Logger";
|
|
||||||
|
|
||||||
const ConfigurationData: any = [];
|
const ConfigurationData: any = [];
|
||||||
class Configuration {
|
class Configuration {
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import playdl, { YouTubeVideo, InfoData } from "play-dl";
|
import playdl, { YouTubeVideo } from "play-dl";
|
||||||
import { Message, VoiceChannel, Snowflake, TextChannel, StageChannel, Guild } from "discord.js";
|
import { VoiceChannel, Snowflake, TextChannel, StageChannel, Guild } from "discord.js";
|
||||||
import { AudioPlayer, VoiceConnection, createAudioPlayer, joinVoiceChannel, createAudioResource, StreamType, VoiceConnectionStatus, AudioPlayerStatus, NoSubscriberBehavior, VoiceConnectionDestroyedState, VoiceConnectionState, DiscordGatewayAdapterCreator, AudioResource, AudioPlayerError } from "@discordjs/voice";
|
import { AudioPlayer, VoiceConnection, createAudioPlayer, joinVoiceChannel, createAudioResource, VoiceConnectionStatus, AudioPlayerStatus, NoSubscriberBehavior, VoiceConnectionState, AudioPlayerError } from "@discordjs/voice";
|
||||||
import { EventEmitter } from "stream";
|
import { EventEmitter } from "stream";
|
||||||
|
|
||||||
import DiscordProvider from "./Discord";
|
import DiscordProvider from "./Discord";
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import * as path from "path";
|
import * as path from "path";
|
||||||
import * as dotenv from "dotenv";
|
import * as dotenv from "dotenv";
|
||||||
|
|
||||||
import Validator from "validator";
|
|
||||||
|
|
||||||
import Logger from "../libs/Logger";
|
import Logger from "../libs/Logger";
|
||||||
|
|
||||||
const requiredENV = [
|
const requiredENV = [
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import Logger from "../libs/Logger";
|
import Logger from "../libs/Logger";
|
||||||
import DiscordProvider from "../providers/Discord";
|
import DiscordProvider from "../providers/Discord";
|
||||||
import { ApplicationCommand, Collection } from "discord.js"
|
|
||||||
import { SlashCommandBuilder } from "@discordjs/builders";
|
import { SlashCommandBuilder } from "@discordjs/builders";
|
||||||
|
|
||||||
export const GLOBAL_COMMANDS: Object[] = [];
|
export const GLOBAL_COMMANDS: Object[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user