예제 #1
0
 def must_use_temp_nick(cli, *etc):
     cli.nick(botconfig.NICK+"_")
     cli.user(botconfig.NICK, "")
     
     decorators.unhook(HOOKS, 239)
     hook("unavailresource")(mustrelease)
     hook("nicknameinuse")(mustregain)
예제 #2
0
    def must_use_temp_nick(cli, *etc):
        cli.nick(botconfig.NICK + "_")
        cli.user(botconfig.NICK, "")

        decorators.unhook(HOOKS, 239)
        hook("unavailresource")(mustrelease)
        hook("nicknameinuse")(mustregain)
예제 #3
0
파일: common.py 프로젝트: nasonfish/Wolfbot
 def toggle_check_quit(*stuff):
     if settings.DISABLE_AUTO_LOG == True:
         settings.LOG_CHAN = False
     decorators.unhook(HOOKS, 652)
예제 #4
0
파일: common.py 프로젝트: nasonfish/Wolfbot
 def toggle_check_join(*stuff):
     if settings.TOGGLE_ENABLED == False:
         settings.LOG_CHAN = False
     decorators.unhook(HOOKS, 652)