Fix attribute
This commit is contained in:
parent
bcc84fa19e
commit
d422f88fe2
@ -48,7 +48,7 @@ class EchoBot(Bot):
|
|||||||
if message.type == "groupchat" and "echobot" in message.body:
|
if message.type == "groupchat" and "echobot" in message.body:
|
||||||
# Parse and reply group chat messages
|
# Parse and reply group chat messages
|
||||||
_, to_echo = message.body.split(":")
|
_, to_echo = message.body.split(":")
|
||||||
self.reply(to_echo, room=message.source)
|
self.reply(to_echo, room=message.room)
|
||||||
```
|
```
|
||||||
|
|
||||||
## All examples
|
## All examples
|
||||||
|
Reference in New Issue
Block a user