test
This commit is contained in:
parent
8949d62b53
commit
37f847b12b
@ -48,4 +48,3 @@ class Commands():
|
||||
":%s %s %s :%s%s %s%s" % (trigger.hostmask, "PRIVMSG", trigger.sender, "\x01", "ACTION", trigger_dict["trigger_str"], "\x01")
|
||||
)
|
||||
bot.dispatch(pretrigger)
|
||||
# \x01<command> [args*]\x01
|
||||
|
||||
@ -79,9 +79,9 @@ def prerun():
|
||||
commands = get_commands(bot, trigger)
|
||||
bot.say(str(commands))
|
||||
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
# function(bot, trigger, *args, **kwargs)
|
||||
|
||||
for trigger_dict in commands[1:]:
|
||||
for trigger_dict in commands:
|
||||
|
||||
sb.commands.dispatch(bot, trigger, trigger_dict)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user