Skip to content

Commit

Permalink
[Fix] bot now does not delete the slash commands on startup. (Causing…
Browse files Browse the repository at this point in the history
… registering issues)
  • Loading branch information
naseif committed Aug 30, 2021
1 parent fe8c15f commit 23aa73f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion events/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
execute(client) {
client.guilds.cache.map(async (guild) => {
try {
await guild.commands.set([]);
await registerSlashCommands(client.user.id, guild.id);
} catch (err) {
console.error(
Expand Down

0 comments on commit 23aa73f

Please sign in to comment.