Skip to content

Commit

Permalink
feat: Any case file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudhan authored Jun 3, 2021
1 parent 79d3df6 commit 08ab3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structures/DiscordMusicBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class DiscordMusicBot extends Client {
file.split(".")[0] +
", Reason: File doesn't had run/name/desciption"
);
this.commands.set(file.split(".")[0], cmd);
this.commands.set(file.split(".")[0].toLowerCase(), cmd);
this.log("Command Loaded: " + file.split(".")[0]);
});
});
Expand Down

0 comments on commit 08ab3e7

Please sign in to comment.