Added seperarion for user and guild commands
This commit is contained in:
@@ -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 },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user