From af9961688ff689ec367ea9d8b0b042658940e16a Mon Sep 17 00:00:00 2001 From: Panoramic Date: Tue, 11 Jun 2024 13:41:37 +0300 Subject: [PATCH] Stop spamming 'unknown command' in 2 user rooms --- vetting_bot/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vetting_bot/callbacks.py b/vetting_bot/callbacks.py index e0751de..a5cb411 100644 --- a/vetting_bot/callbacks.py +++ b/vetting_bot/callbacks.py @@ -62,7 +62,7 @@ class Callbacks: # room.is_group does not allow room aliases # room.member_count > 2 ... we assume a public room # room.member_count <= 2 ... we assume a DM - if not has_command_prefix and room.member_count > 2: + if not has_command_prefix: # General message listener message = Message(self.client, self.store, self.config, msg, room, event) await message.process()