Skip to content

Commit

Permalink
fix: Hot Fox number ...
Browse files Browse the repository at this point in the history
  • Loading branch information
SerekKiri authored Jan 17, 2019
1 parent 583cb7b commit fb5715d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports.check = function(message) {
const pref = message.content.toLowerCase().startsWith(config.Prefix)

if (pref) {
if(commands[args[0] != undefined) {
if(commands[args[0]] != undefined) {
return commands[args[0]](message)
}
else {
Expand Down

0 comments on commit fb5715d

Please sign in to comment.