From 960deeeeb38e8d9c88098fd7f4ed1e4528c8d898 Mon Sep 17 00:00:00 2001 From: Supositware Date: Mon, 21 Jan 2019 15:37:55 +0100 Subject: [PATCH] Dosen't let do less than 3 --- commands/hidden/domino.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/hidden/domino.js b/commands/hidden/domino.js index 331722fd..4f112bc5 100644 --- a/commands/hidden/domino.js +++ b/commands/hidden/domino.js @@ -21,6 +21,8 @@ class dominoCommand extends Command { } async exec(message, args) { + if (args.domino < 2) + return message.channel.send('Can\'t do less than 3'); let domino = 'I'; message.util.send(domino.repeat(args.number))