This commit is contained in:
deathbybandaid 2019-05-18 18:18:12 -04:00
parent fb815496c4
commit 76e52c1ae5

View File

@ -47,15 +47,11 @@ def shutdown(bot):
@sopel.module.event(botevents.BOT_CONNECTED)
@sopel.module.rule('.*')
def unkickable_bot(bot, trigger):
def trigger_channel_list_initial(bot, trigger):
if bot.config.SpiceBot_Channels.operadmin:
bot.write(('SAMODE', bot.nick, '+q'))
@sopel.module.event(botevents.BOT_CONNECTED)
@sopel.module.rule('.*')
def trigger_channel_list_initial(bot, trigger):
bot_part_empty(bot)
bot.write(['LIST'])