From f5135aa30a6b1a000c8b61569a597ca93b00adbb Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 7 Nov 2019 23:31:18 +0000 Subject: [PATCH] Fix missing await and argument --- message_responses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/message_responses.py b/message_responses.py index 0477b17..744bcb3 100644 --- a/message_responses.py +++ b/message_responses.py @@ -32,9 +32,9 @@ class Message(object): async def process(self): """Process and possibly respond to the message""" if self.message_content.lower() == "hello world": - self._hello_world() + await self._hello_world() - async def _hello_world(): + async def _hello_world(self): """Say hello""" text = "Hello, world!" await send_text_to_room(self.client, self.room.room_id, text)