This commit is contained in:
JonnyBro 2022-10-09 17:57:55 +05:00
parent 4c3166b0e6
commit 8185da4ce1

View file

@ -151,15 +151,15 @@ class JaBa extends Client {
} }
try { try {
if (!this.config.production) { if (this.config.production) {
await rest.put( await rest.put(
Routes.applicationGuildCommands(this.config.user, this.config.support.id), { Routes.applicationCommands(this.config.user), {
body: commands body: commands
} }
); );
} else { } else {
await rest.put( await rest.put(
Routes.applicationCommands(this.config.user), { Routes.applicationGuildCommands(this.config.user, this.config.support.id), {
body: commands body: commands
} }
); );