make slash commands more workable
This commit is contained in:
parent
4f94afa5da
commit
d40ba24ab5
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user