3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-25 13:29:29 +01:00

doc/Commands.md: add another way to address output to users

This commit is contained in:
Pragmatic Software 2020-05-31 18:31:48 -07:00
parent aa405dcee2
commit 5687c465d4

View File

@ -159,6 +159,18 @@ Examples:
### Addressing output to users
There are a number of ways to address command output to users.
You can prefix the `<bot trigger>`-based invocation with the user's nickname:
<nickname> <bot trigger> <command>
Examples:
<pragma-> dave: !echo Testing
<PBot> dave: Testing
<pragma-> mike: !time
<PBot> mike: It's Sun 31 May 2020 06:03:08 PM PDT in Los Angeles.
You can use the `tell` keyword:
tell <nickname> (about|the) <command>