SpiceBot/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py
deathbybandaid 46f6966eda Core Bot
2022-02-24 10:58:48 -05:00

23 lines
429 B
Python

from sopel import plugin
from sopel_SpiceBot_Core_Prerun import prerun
@prerun()
@plugin.command('(.*)')
def rule_command(bot, trigger, comrun):
bot.say("%s" % trigger.raw)
@prerun()
@plugin.nickname_command('(.*)')
def rule_nickname_command(bot, trigger, comrun):
bot.say("%s" % trigger.raw)
@prerun()
@plugin.action_command('(.*)')
def rule_action_command(bot, trigger, comrun):
bot.say("%s" % trigger.raw)