Use new attribute

This commit is contained in:
Luke Murphy 2021-01-16 17:31:22 +01:00
parent 4e883004fd
commit cc6e8af6c4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -407,7 +407,7 @@ class EchoBot(Bot):
def group(self, message):
"""Send back whatever receive in group chats."""
self.reply(message.text.split(":")[-1], room=message.room)
self.reply(message.content, room=message.room)
class WhisperBot(Bot):