Added dprint and formatted file to it

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-06 22:57:15 +02:00
parent 55e1cf7cdf
commit f389209e21
106 changed files with 398 additions and 395 deletions

View File

@@ -1,10 +1,10 @@
import { embedColor } from "config/options.js"
import { Events } from "discord.js"
import fs from "fs"
import { ICommand } from "interfaces"
import path from "path"
import { ExtendedClient as Client } from "utils/Client.js"
import color from "utils/functions/colors.js"
import { embedColor } from "config/options.js"
import { ICommand } from "interfaces"
import { Events } from "discord.js"
import path from "path"
import fs from "fs"
import logToChannel from "utils/functions/logtochannel.js"
type FileType = "js" | "ts"
const __dirname = import.meta.dirname
@@ -29,7 +29,7 @@ export default async function loadSlashCommandsEvents(client: Client, ft: FileTy
}
}
//! command handler
// ! command handler
client.on(Events.InteractionCreate, async interaction => {
if (!interaction.isChatInputCommand()) return