example
This commit is contained in:
parent
fb9f122fe5
commit
77cbac8deb
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ Functions decorated by `received` have access to a `msg` parameter that has the
|
||||||
- `msg.reply` : function that takes a string parameter and sends it as reply to the sender
|
- `msg.reply` : function that takes a string parameter and sends it as reply to the sender
|
||||||
- `msg.lxmf` : the complete `LXMessage` object for more complex parsing
|
- `msg.lxmf` : the complete `LXMessage` object for more complex parsing
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
Example of a bot that echos a message back to the sender:
|
Example of a bot that echos a message back to the sender:
|
||||||
|
|
||||||
```Python
|
```Python
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue