diff --git a/nardco.py b/nardco.py index baca0c7dc2dce9e60eef981737796ea14a20cce6..42ab5b4496902dd14105a1251e77c975fa48b350 100755 --- a/nardco.py +++ b/nardco.py @@ -225,9 +225,11 @@ class Boooob(ircbot.SingleServerIRCBot): if ratio > 60 and ratio > most_likely[1] : most_likely = (f, ratio) cmd = most_likely[0] + + if 'spoil' in args or 'spoil' in cmd : + serv.privmsg(canal, "Le risque de spoil est present. je fais pas ça.") - - if cmd == "help": + elif cmd == "help": if len(message.split(" ")) > 1: if "reddit" in message.split(" ")[1]: serv.privmsg(