From b49fbb534c73017b5df038b6e7f6b4f2d706101d Mon Sep 17 00:00:00 2001 From: William Kray Date: Fri, 18 Oct 2024 07:32:43 -0700 Subject: [PATCH] oops fix spacing around file censorship logic --- community/bot.py | 2 +- maubot.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/community/bot.py b/community/bot.py index e9c1e97..37f6479 100644 --- a/community/bot.py +++ b/community/bot.py @@ -127,7 +127,7 @@ class CommunityBot(Plugin): def flag_message(self, msg): if msg.content.msgtype in [MessageType.FILE, MessageType.IMAGE, MessageType.VIDEO]: - return self.config['censor_files'] + return self.config['censor_files'] for w in self.config['censor_wordlist']: try: diff --git a/maubot.yaml b/maubot.yaml index 7e23ff4..0e0f460 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: org.jobmachine.communitybot -version: 0.1.14 +version: 0.1.15 license: MIT modules: - community