forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
9becc678d3
commit
33d0043f13
1 changed files with 4 additions and 0 deletions
|
@ -242,6 +242,7 @@ my_self = ["MeowNexUS", "MeowNexU5", "MeowN3xUS"]
|
||||||
happiness = 5
|
happiness = 5
|
||||||
global times
|
global times
|
||||||
times = 0
|
times = 0
|
||||||
|
emoticons = {";3": "I think you forgot to press shift", ":#": "Wait no, don't hold shift long!"}
|
||||||
def irci2():
|
def irci2():
|
||||||
irc2.connect_irc(
|
irc2.connect_irc(
|
||||||
server_irc, port_irc, channel_irc, "sweeB0t", botpass_irc, botnickpass_irc + "/B"
|
server_irc, port_irc, channel_irc, "sweeB0t", botpass_irc, botnickpass_irc + "/B"
|
||||||
|
@ -657,6 +658,9 @@ while True:
|
||||||
elif command[0] == ":3":
|
elif command[0] == ":3":
|
||||||
if not sbconfig.cflagexist(channel, "-colonthree"):
|
if not sbconfig.cflagexist(channel, "-colonthree"):
|
||||||
irc.send_irc(channel, ":3")
|
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:
|
elif ":3c" in command:
|
||||||
if not sbconfig.cflagexist(channel, "-colonthree"):
|
if not sbconfig.cflagexist(channel, "-colonthree"):
|
||||||
multiline(channel, choice(threes))
|
multiline(channel, choice(threes))
|
||||||
|
|
Loading…
Reference in a new issue