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)