commit fa7ea8a3d6a8f977fbe46edf62dbb7cae71ca932 parent 4ad0b55bf06c99f4054600fb7f93ef0cb24f7e49 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 17 Aug 2021 01:25:15 +0200 prevent weird indentations and bump to 0.1.2 Diffstat:
| M | maubot_audio_preventer/bot.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/maubot_audio_preventer/bot.py b/maubot_audio_preventer/bot.py @@ -47,7 +47,7 @@ class MaubotAudioPreventer(Plugin): warnings = self.db.get_user(evt.sender) if (warnings is None): await evt.reply(f"""Please do not send Audio or Voice messages. This is your first warning! You have {self.config['text_warning_amount'] - 1} warnings left before you will get kicked.\n - If you then still not comply you will after {self.config['kick_warning_amount']} kicks get banned from this room. The counter is across all rooms this bot is admin in.""") +If you then still not comply you will after {self.config['kick_warning_amount']} kicks get banned from this room. The counter is across all rooms this bot is admin in.""") self.db.add_user(evt.sender) else: warnings_typed: UserInfo = warnings