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