forked from Supositware/Haha-Yes
Dosen't let do less than 3
This commit is contained in:
parent
bdb0405891
commit
960deeeeb3
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ class dominoCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
if (args.domino < 2)
|
||||||
|
return message.channel.send('Can\'t do less than 3');
|
||||||
let domino = 'I';
|
let domino = 'I';
|
||||||
|
|
||||||
message.util.send(domino.repeat(args.number))
|
message.util.send(domino.repeat(args.number))
|
||||||
|
|
Loading…
Reference in a new issue