From bfa97f99aea62885b9df60f50b1916f13ea8e4f6 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 18 May 2019 19:21:22 -0400 Subject: [PATCH] self --- sopel_modules/SpiceBot/Channels.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sopel_modules/SpiceBot/Channels.py b/sopel_modules/SpiceBot/Channels.py index 87f5949..6ea7ee8 100644 --- a/sopel_modules/SpiceBot/Channels.py +++ b/sopel_modules/SpiceBot/Channels.py @@ -18,7 +18,7 @@ class BotChannels(): "InitialProcess": False } - def channel_list_request(bot): + def channel_list_request(self, bot): bot.write(['LIST']) def channel_list_recieve_start(self): @@ -43,7 +43,7 @@ class BotChannels(): topic = re.sub(actual_topic, r'\1', topic) return topic - def bot_part_empty(bot): + def bot_part_empty(self, bot): """Don't stay in empty channels""" ignorepartlist = [] if bot.config.core.logging_channel: @@ -54,7 +54,7 @@ class BotChannels(): if channel.lower() in botchannels.SpiceBot_Channels['list']: del botchannels.SpiceBot_Channels['list'][channel.lower()] - def join_all_channels(bot): + def join_all_channels(self, bot): if bot.config.SpiceBot_Channels.joinall: for channel in botchannels.SpiceBot_Channels['list'].keys(): if channel.startswith("#"): @@ -63,7 +63,7 @@ class BotChannels(): if channel not in bot.channels.keys() and bot.config.SpiceBot_Channels.operadmin: bot.write(('SAJOIN', bot.nick, botchannels.SpiceBot_Channels['list'][channel]['name'])) - def chanadmin_all_channels(bot): + def chanadmin_all_channels(self, bot): # Chan ADMIN +a for channel in bot.channels.keys(): if channel.startswith("#"):