From 93ac2620e0665c46a484408447395a5a33d413bf Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 13 Jan 2021 14:51:07 +0100 Subject: [PATCH] Add back docstring to example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 5b98d71..597c0e6 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ Here's the code for the `EchoBot`. ```python class EchoBot(Bot): + """Gives back what you sent it. + + In group chats, it responds to the following format. + + echobot:foo + """ def react(self, message): if message.type == "chat": # Reply to direct messages