This commit is contained in:
deathbybandaid 2022-02-09 16:25:26 -05:00
parent a0a9080fa6
commit e5a4d27c94

View File

@ -42,6 +42,9 @@ class SpiceBotCore_OBJ():
# Re-initialize the bot config properly during plugin setup routine # Re-initialize the bot config properly during plugin setup routine
self.config.config = bot.config self.config.config = bot.config
# Set bot value for comms
self.comms.bot = bot
# OSD shortcut # OSD shortcut
def osd(self, messages, recipients=None, text_method='PRIVMSG', max_messages=-1): def osd(self, messages, recipients=None, text_method='PRIVMSG', max_messages=-1):
return self.comms.osd(messages, recipients, text_method, max_messages) return self.comms.osd(messages, recipients, text_method, max_messages)