mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
yes
This commit is contained in:
parent
4c3166b0e6
commit
8185da4ce1
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue