From 92ef8c107ec351cb00501c5c3f2774e9e5e43ed9 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 8 May 2019 11:58:40 -0400 Subject: [PATCH] Repair Module --- sopel_modules/SpiceBot_InvalidCommand/InvalidCommand.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sopel_modules/SpiceBot_InvalidCommand/InvalidCommand.py b/sopel_modules/SpiceBot_InvalidCommand/InvalidCommand.py index d7e9349..23c8231 100644 --- a/sopel_modules/SpiceBot_InvalidCommand/InvalidCommand.py +++ b/sopel_modules/SpiceBot_InvalidCommand/InvalidCommand.py @@ -4,10 +4,8 @@ from __future__ import unicode_literals, absolute_import, division, print_functi import sopel.module -import spicemanip - from sopel_modules.SpiceBot_SBTools import sopel_triggerargs -from sopel_modules.SpiceBot_Events.System import bot_events_check +from sopel_modules.SpiceBot_Events.System import bot_events_check, bot_events_recieved def setup(bot): @@ -46,4 +44,4 @@ def InvalidCommand_triggers(bot, trigger): invalid_display = ["I don't seem to have a command for " + str(triggercommand) + "!"] invalid_display.append("If you have a suggestion for this command, you can run .feature ." + str(triggercommand)) invalid_display.append("ADD DESCRIPTION HERE!") - osd(bot, botcom.instigator, 'notice', invalid_display) + bot.osd(invalid_display, trigger.nick, 'notice')