mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
Plugin/ActionTrigger: improve weather example
This commit is contained in:
parent
5a797e84b1
commit
26f9fc7677
@ -22,7 +22,7 @@ package Plugins::ActionTrigger;
|
|||||||
# actiontrigger add global 0 300 "some phrase" echo Something!
|
# actiontrigger add global 0 300 "some phrase" echo Something!
|
||||||
#
|
#
|
||||||
# Capture a part of somebody's message.
|
# Capture a part of somebody's message.
|
||||||
# actiontrigger add #channel 0 0 "(?i)how is the weather in (.*) today" weather $1
|
# actiontrigger add #channel 0 0 "(?i)how is the weather (?:in|for) (.*) today" weather $1
|
||||||
#
|
#
|
||||||
# These are basic examples; more complex examples can be crafted.
|
# These are basic examples; more complex examples can be crafted.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user