Esempio n. 1
0
    def nickof(self, irc, bot):
        info = _svc.get_info()

        if(bot and bot in info.keys()):
            irc.reply("%s has nick %s"%(bot, info[bot]))
        else:
            irc.reply("I dunno. Try %s"%str(info.keys()))
Esempio n. 2
0
 def nick_change(self, irc, nick, old_nick):
     svcinfo = _svc.get_info()
     # opserv pm #theops that someones nick changed
     irc.send_target_privmsg(svcinfo["opserv"], "#theops", "%s changed nick to %s"%(old_nick, nick) )