From 8185da4ce1ddb6107e3288adc19711f3fd1a4ed2 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 9 Oct 2022 17:57:55 +0500 Subject: [PATCH] yes --- base/JaBa.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/JaBa.js b/base/JaBa.js index e6b0b62a..b0275044 100644 --- a/base/JaBa.js +++ b/base/JaBa.js @@ -151,15 +151,15 @@ class JaBa extends Client { } try { - if (!this.config.production) { + if (this.config.production) { await rest.put( - Routes.applicationGuildCommands(this.config.user, this.config.support.id), { + Routes.applicationCommands(this.config.user), { body: commands } ); } else { await rest.put( - Routes.applicationCommands(this.config.user), { + Routes.applicationGuildCommands(this.config.user, this.config.support.id), { body: commands } );