This commit is contained in:
deathbybandaid 2022-05-06 09:15:21 -04:00
parent f0617e06fe
commit 7ae9daa98d
2 changed files with 8 additions and 3 deletions

View File

@ -29,6 +29,11 @@ class Commands():
# TODO config # TODO config
return "|" return "|"
@property
def query_command_key(self):
# TODO config
return "|"
@property @property
def valid_sopel_commands(self): def valid_sopel_commands(self):
found = [] found = []

View File

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