Docs docs docs

This commit is contained in:
2021-01-10 16:51:20 +01:00
parent 9767c7337e
commit aefcfbab9c
4 changed files with 61 additions and 17 deletions

View File

@ -8,9 +8,9 @@ class EchoBot(Bot):
"""
def react(self, message):
def reply_direct_chat(self, message):
"""Send back what we get."""
self.reply(to=message.sender, body=message.body)
self.send_direct_chat(to=message.sender, body=message.body)
EchoBot()