Skip to content

Commit

Permalink
Fix creating commands
Browse files Browse the repository at this point in the history
  • Loading branch information
schblondie committed Jan 23, 2023
1 parent ef589d5 commit cafc67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/registerCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ module.exports = {
console.log(`Command ${commandJSON.name} in guild ${guild[1].id} is up to date`)
guildDelete.splice(guildDelete.indexOf(c), 1)
} else {
await guild[1].commands.edit(c, commandJSON)
guildDelete.splice(guildDelete.indexOf(c), 1)
}
} catch (e) {
Expand Down

0 comments on commit cafc67d

Please sign in to comment.