mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
fix events
This commit is contained in:
parent
263f61cd8e
commit
180d82fa12
@ -9,7 +9,7 @@ import sopel_modules.SpiceBot as SpiceBot
|
|||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
SpiceBot.logs.log('SpiceBot_StartupMonologue', "Starting setup procedure")
|
SpiceBot.logs.log('SpiceBot_StartupMonologue', "Starting setup procedure")
|
||||||
SpiceBot.events.startup_add([SpiceBot.events.BOT_STARTUPMONOLOGUE_CHANNELS, SpiceBot.events.BOT_STARTUPMONOLOGUE_COMMANDSQUERY]) # ,SpiceBot.events.BOT_STARTUPMONOLOGUE_CONNECTED])
|
SpiceBot.events.startup_add([SpiceBot.events.BOT_STARTUPMONOLOGUE_CHANNELS, SpiceBot.events.BOT_STARTUPMONOLOGUE_COMMANDS]) # ,SpiceBot.events.BOT_STARTUPMONOLOGUE_CONNECTED])
|
||||||
|
|
||||||
if 'SpiceBot_StartupMonologue' not in bot.memory:
|
if 'SpiceBot_StartupMonologue' not in bot.memory:
|
||||||
bot.memory['SpiceBot_StartupMonologue'] = []
|
bot.memory['SpiceBot_StartupMonologue'] = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user