make slash commands more workable

This commit is contained in:
Hexugory 2023-03-29 16:03:17 -05:00
parent 4f94afa5da
commit d40ba24ab5

View File

@ -15,6 +15,8 @@ export class DeploySlashCommand implements Command{
async execute(msg: Message) {
const client = msg.client as CommandClient;
await client.application!.commands.set([]);
client.slashCommands.forEach(async (command) => {
console.log(command);
if (command.guildID) {