Basic Bot setup

This commit is contained in:
2024-04-07 12:11:59 +02:00
commit c2d634d049
21 changed files with 1298 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { Client } from "discord.js";
export default async (client: Client<true>) => {
const applicationCommands = await client.application.commands;
await applicationCommands.fetch();
return applicationCommands;
}