Fix custom command
Convert to string before sending message
This commit is contained in:
parent
8b3387d109
commit
826d13eadd
2 changed files with 5 additions and 3 deletions
|
@ -11,6 +11,7 @@ module.exports = {
|
|||
max = parseInt(args[1])
|
||||
}
|
||||
let randNumber= randomNumber(min,max)
|
||||
message.channel.send(randNumber)
|
||||
console.log(randNumber)
|
||||
message.channel.send(randNumber.toString())
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue