🚑 Now credits is multi guilded
This commit is contained in:
parent
762c0dbe57
commit
91eba3988f
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,12 @@ module.exports = async () => {
|
||||||
|
|
||||||
const rest = new REST({ version: '9' }).setToken(config.bot.token);
|
const rest = new REST({ version: '9' }).setToken(config.bot.token);
|
||||||
|
|
||||||
rest
|
await rest.put(
|
||||||
|
Routes.applicationCommands(clientId),
|
||||||
|
{ body: commands },
|
||||||
|
);
|
||||||
|
|
||||||
|
await rest
|
||||||
.put(Routes.applicationGuildCommands(config.bot.clientId, config.bot.guildId), {
|
.put(Routes.applicationGuildCommands(config.bot.clientId, config.bot.guildId), {
|
||||||
body: commands,
|
body: commands,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue