games.runCommands(channel,nick,commandChar,ircmsg,ircsock,hostmask) word.runCommands(channel,nick,commandChar,ircmsg,hostmask,ircsock) MC.runCommands(ircmsg,commandChar,ircsock,channel,hostmask,nick) evil.runCommands(hostmask,user,channel,ops,commandChar,ircsock,ircmsg) except: pass if config.config.enableAutocorrect == True: sendmsg(channel, autocorrect.correctMsg(ircmsg.split(" :",1)[1])) if config.config.enablePM == True: if channel == botnick: channel = user stats.phraseText(ircmsg,commandChar,botnick,user,hostmask,channel) stats.botStats(ircmsg,commandChar,botnick,user,hostmask,channel) MC.phraseText(ircmsg,commandChar,botnick,user,hostmask,channel) if TextPhrase.phraseText(ircmsg,commandChar,botnick,user,hostmask,channel) != [""]: sendmsg(channel,TextPhrase.phraseText(ircmsg,commandChar,botnick,user,hostmask,channel)[0]) if ircmsg.lower().find("bowserbot") != -1 or ircmsg.lower().find(botnick.lower()) != -1: if ircmsg.find(commandChar) == -1 and ircmsg.find("op") == -1 and "aegisserver2" not in ircmsg.lower(): result = TextPhrase.phraseText(ircmsg,commandChar,botnick,user,hostmask,channel) sendmsg(channel,result[0]) try: if stats.runCommands(channel,nick,commandChar,ircmsg,ircsock,hostmask) != None: sendmsg(channel,stats.runCommands(channel,nick,commandChar,ircmsg,ircsock,hostmask)) except: pass if Trivial.birthday(nick,BWBellairsTrue) != False: for i in Trivial.birthday(nick,BWBellairsTrue):