test
This commit is contained in:
parent
dc26f57808
commit
1d7ae4b1b1
@ -205,8 +205,6 @@ class Commands():
|
|||||||
trigger_type = assumed_trigger_type
|
trigger_type = assumed_trigger_type
|
||||||
trigger_prefix = assumed_trigger_prefix
|
trigger_prefix = assumed_trigger_prefix
|
||||||
|
|
||||||
if not trigger_str.isspace():
|
|
||||||
|
|
||||||
commands.append({
|
commands.append({
|
||||||
"trigger_type": trigger_type,
|
"trigger_type": trigger_type,
|
||||||
"trigger_prefix": trigger_prefix,
|
"trigger_prefix": trigger_prefix,
|
||||||
@ -216,4 +214,13 @@ class Commands():
|
|||||||
"trigger_sender": trigger.sender
|
"trigger_sender": trigger.sender
|
||||||
})
|
})
|
||||||
|
|
||||||
|
print({
|
||||||
|
"trigger_type": trigger_type,
|
||||||
|
"trigger_prefix": trigger_prefix,
|
||||||
|
"trigger_str": trigger_str,
|
||||||
|
"trigger_command": trigger_command,
|
||||||
|
"trigger_hostmask": trigger.hostmask,
|
||||||
|
"trigger_sender": trigger.sender
|
||||||
|
})
|
||||||
|
|
||||||
return commands
|
return commands
|
||||||
|
|||||||
@ -5,7 +5,7 @@ from sopel_SpiceBot_Core_1 import sb
|
|||||||
|
|
||||||
def pipe_split():
|
def pipe_split():
|
||||||
"""
|
"""
|
||||||
This splits the given command by ` | ` and re-dispatches it internally to the bot.
|
This splits the given command by `|` and re-dispatches it internally to the bot.
|
||||||
This allows the output of a command to be sent
|
This allows the output of a command to be sent
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user