This commit is contained in:
randogoth 2023-05-19 11:13:55 +03:00
parent fb9f122fe5
commit 77cbac8deb

View file

@ -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