From 02543d3041a398b8035e833695e63027f9bfb7df Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Sun, 28 Jul 2024 15:30:16 +0900 Subject: [PATCH] Lint and format --- src/events/client/InteractionCreate.ts | 8 ++++---- src/events/client/MessageCreate.ts | 8 ++++---- src/structures/Lavamusic.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/events/client/InteractionCreate.ts b/src/events/client/InteractionCreate.ts index 438223446..90b72f2ec 100644 --- a/src/events/client/InteractionCreate.ts +++ b/src/events/client/InteractionCreate.ts @@ -1,15 +1,15 @@ import { + ActionRowBuilder, type AutocompleteInteraction, + ButtonBuilder, + ButtonStyle, ChannelType, Collection, CommandInteraction, + EmbedBuilder, type GuildMember, InteractionType, PermissionFlagsBits, - ActionRowBuilder, - ButtonBuilder, - ButtonStyle, - EmbedBuilder, type TextChannel, } from "discord.js"; import { LoadType } from "shoukaku"; diff --git a/src/events/client/MessageCreate.ts b/src/events/client/MessageCreate.ts index 300c52546..49e6f6d2d 100644 --- a/src/events/client/MessageCreate.ts +++ b/src/events/client/MessageCreate.ts @@ -1,12 +1,12 @@ import { + ActionRowBuilder, + ButtonBuilder, + ButtonStyle, ChannelType, Collection, + EmbedBuilder, type Message, PermissionFlagsBits, - ButtonBuilder, - ActionRowBuilder, - ButtonStyle, - EmbedBuilder, type TextChannel, } from "discord.js"; import { Context, Event, type Lavamusic } from "../../structures/index.js"; diff --git a/src/structures/Lavamusic.ts b/src/structures/Lavamusic.ts index 4df4688d6..8650a4458 100644 --- a/src/structures/Lavamusic.ts +++ b/src/structures/Lavamusic.ts @@ -1,6 +1,7 @@ import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; +import { Api } from "@top-gg/sdk"; import { ApplicationCommandType, Client, @@ -14,7 +15,6 @@ import { Routes, } from "discord.js"; import { Locale } from "discord.js"; -import { Api } from "@top-gg/sdk"; import config from "../config.js"; import ServerData from "../database/server.js"; import loadPlugins from "../plugin/index.js";