From ac82a2ffabb4411613a73aa8f2b1b75a9a3e2f47 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 18 May 2019 15:04:36 -0400 Subject: [PATCH] string --- sopel_modules/SpiceBot_Channels/Channels.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sopel_modules/SpiceBot_Channels/Channels.py b/sopel_modules/SpiceBot_Channels/Channels.py index 9de80e4..487b30d 100644 --- a/sopel_modules/SpiceBot_Channels/Channels.py +++ b/sopel_modules/SpiceBot_Channels/Channels.py @@ -56,9 +56,6 @@ def unkickable_bot(bot, trigger): @sopel.module.rule('.*') def trigger_channel_list_initial(bot, trigger): - # Unkickable - bot.write(('SAMODE', bot.nick, '+q')) - bot_part_empty(bot) bot.write(['LIST']) @@ -104,7 +101,7 @@ def trigger_channel_list_recurring(bot, trigger): while bot.memory['SpiceBot_Channels']['ProcessLock']: pass - newlist = [item.lower() for item in oldlist if item.lower() not in list(bot.memory['SpiceBot_Channels']['channels'.keys()])] + newlist = [item.lower() for item in oldlist if item.lower() not in list(bot.memory['SpiceBot_Channels']['channels'].keys())] if "*" in newlist: newlist.remove("*") if len(newlist) and bot.config.SpiceBot_Channels.announcenew: