From 975422670b930bcf3c314fdf8f5339be95c962d7 Mon Sep 17 00:00:00 2001 From: Loris TICHADOU <loris.tichadou@ensiie.fr> Date: Thu, 4 Jul 2019 11:35:13 +0200 Subject: [PATCH] Update nardco.py --- nardco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nardco.py b/nardco.py index 7d461c2..9e392c1 100755 --- a/nardco.py +++ b/nardco.py @@ -328,7 +328,7 @@ class Boooob(ircbot.SingleServerIRCBot): #serv.mode(canal, "+" + len(live)*'v' + " "+" ".join(live)) #serv.mode(canal, "+m") - elif cmd == "roll" : + elif cmd == "roll" && len(split) > 1: content = split[1] if len(content.split('d')) == 2 : nbrDe = content.split('d')[0] -- GitLab