def untimeout_user(user): global banned if user in banned: banned.remove(user) log.info("%s timeout expired", user) tts.unmute_user_tts(user)
def untimeout_user(user): global banned if user in banned: banned.remove(user) print(user + " timeout expired") tts.unmute_user_tts(user)
def untimeout_user(user): global banned if user in banned: banned.remove(user) log.info("%s timeout expired", user) robot_util.sendChatMessage("{} timeout expired".format(user)) tts.unmute_user_tts(user)
def untimeout_handler(command, args): global banned if len(command) > 1: user = command[1] if is_authed(args['name']): # Moderator if user in banned: banned.remove(user) log.info("%s removed %s from timeout list", args['name'], user) tts.unmute_user_tts(user)
def unban_handler(command, args): global banned if len(command) > 1: user = command[1] if is_authed(args['name']): # Moderator if user in banned: banned.remove(user) print(user + " removed from ban list") tts.unmute_user_tts(user)
def untimeout_handler(command, args): global banned if len(command) > 1: user = command[1] if is_authed(args['sender']): # Moderator if user in banned: banned.remove(user) log.info("%s removed %s from timeout list", args['sender'], user) robot_util.sendChatMessage("{} timeout cleared".format(user)) tts.unmute_user_tts(user)