More Formatting Woot

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 02:02:42 +00:00
parent 40a4af36c4
commit 3b007758aa
38 changed files with 51 additions and 43 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class RollChooseCommand extends commando.Command {
}
console.log("[Command] " + message.content);
let [value] = message.content.split(" ").slice(1);
if (value === undefined) {
if (!value) {
let roll = Math.floor(Math.random() * 6) + 1;
message.channel.send("You rolled a " + roll);
}