diff --git a/sweebot.py b/sweebot.py index 5d16dbb..47e18ea 100644 --- a/sweebot.py +++ b/sweebot.py @@ -242,6 +242,7 @@ my_self = ["MeowNexUS", "MeowNexU5", "MeowN3xUS"] happiness = 5 global times times = 0 +emoticons = {";3": "I think you forgot to press shift", ":#": "Wait no, don't hold shift long!"} def irci2(): irc2.connect_irc( server_irc, port_irc, channel_irc, "sweeB0t", botpass_irc, botnickpass_irc + "/B" @@ -657,6 +658,9 @@ while True: elif command[0] == ":3": if not sbconfig.cflagexist(channel, "-colonthree"): irc.send_irc(channel, ":3") + elif command[0] in emoticons: + if not sbconfig.cflagexist(channel, "-colonthree"): + irc.send_irc(channel, emoticons[command[0]]) elif ":3c" in command: if not sbconfig.cflagexist(channel, "-colonthree"): multiline(channel, choice(threes))