🚑 Now credits is multi guilded

This commit is contained in:
Axel Olausson Holtenäs 2022-03-06 14:15:51 +01:00
parent 762c0dbe57
commit 91eba3988f
No known key found for this signature in database
GPG key ID: E3AE7E194AE017ED

View file

@ -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,
}) })