feat: globalise commands
This commit is contained in:
parent
cec941287a
commit
d4c13b93d6
|
@ -31,7 +31,7 @@ const rest = new REST().setToken(process.env.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('872411739155726336', '1127731341283307520'),
|
||||
Routes.applicationCommands('872411739155726336'),
|
||||
{ body: commandsArray.map(cmd => cmd.builder) },
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue