mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
16 lines
569 B
Python
16 lines
569 B
Python
# coding=utf-8
|
|
|
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
|
|
|
import sopel.module
|
|
|
|
import sopel_modules.SpiceBot as SpiceBot
|
|
|
|
|
|
def setup(bot):
|
|
SpiceBot.botlogs.log('SpiceBot_StartupMonologue', "Starting setup procedure")
|
|
SpiceBot.botevents.startup_add([SpiceBot.botevents.BOT_STARTUPMONOLOGUE_CHANNELS, SpiceBot.botevents.BOT_STARTUPMONOLOGUE_COMMANDSQUERY]) # ,SpiceBot.botevents.BOT_STARTUPMONOLOGUE_CONNECTED])
|
|
|
|
if 'SpiceBot_StartupMonologue' not in bot.memory:
|
|
bot.memory['SpiceBot_StartupMonologue'] = []
|