mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: /debug and /help
This commit is contained in:
1 parent
91260aed2a
commit
c37b90caac
11 files changed
+110
-10
No files matched your search
@@ -25,8 +25,10 @@ export interface CommandRegistry {
|
||||
export const rest = new REST().setToken(process.env.DISCORD_TOKEN!);
|
||||
const commandFolders = readdirSync('src/commands/');
|
||||
const commandCollection = new Collection<string, CommandRegistry>();
|
||||
const guildCommands: RESTPostAPIChatInputApplicationCommandsJSONBody[] = [];
|
||||
const publicCommands: RESTPostAPIChatInputApplicationCommandsJSONBody[] = [];
|
||||
export const guildCommands: RESTPostAPIChatInputApplicationCommandsJSONBody[] =
|
||||
[];
|
||||
export const publicCommands: RESTPostAPIChatInputApplicationCommandsJSONBody[] =
|
||||
[];
|
||||
|
||||
for (const file of commandFolders) {
|
||||
const command = (await import(`../commands/${file}`))
|
||||
|
||||
Reference in new issue
Block a user