Added seperarion for user and guild commands

This commit is contained in:
2023-04-03 11:27:44 +02:00
parent 40b5030218
commit 111787852f
3 changed files with 39 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ const rest = new REST({ version: '10' }).setToken(token);
// The put method is used to fully refresh all commands in the guild with the current set
const data = await rest.put(
Routes.applicationGuildCommands(clientId, guildId),
Routes.applicationCommands(clientId),
{ body: commands },
);