From 33d0043f13f978e710439a08370a40edef146d6e Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 21 Dec 2024 13:45:32 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 ++++ 1 file changed, 4 insertions(+) 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))