From 058eaa94d1ffbeba9662670e295c4962890440bf Mon Sep 17 00:00:00 2001 From: git-bruh Date: Mon, 7 Dec 2020 19:50:05 +0530 Subject: [PATCH] Add RoomMessageEmote to message callback --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 8528f8d..840f686 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,8 @@ class MatrixClient(nio.AsyncClient): callbacks = Callbacks(self, self.process_message) self.add_event_callback( callbacks.message_callback, - (nio.RoomMessageText, nio.RoomMessageMedia)) + (nio.RoomMessageText, nio.RoomMessageMedia, + nio.RoomMessageEmote)) self.add_event_callback( callbacks.redaction_callback, nio.RedactionEvent)