test
This commit is contained in:
parent
fe3929c43c
commit
b76c84dffe
@ -70,8 +70,10 @@ def prerun():
|
||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||
|
||||
commands = get_commands(bot, trigger)
|
||||
if len(commands) == 1:
|
||||
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
stringtest = function(bot, trigger, *args, **kwargs)
|
||||
bot.say(stringtest)
|
||||
|
||||
return internal_prerun
|
||||
return actual_decorator
|
||||
|
||||
@ -13,6 +13,7 @@ def sb_test_commands(bot, trigger):
|
||||
bot.say("%s" % trigger.raw)
|
||||
|
||||
bot.say("%s" % trigger.args[1])
|
||||
return "fart knocker"
|
||||
|
||||
|
||||
@prerun()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user