maubot-audio-preventer

git clone git://archive.git.mtrnord.blog/MTRNord/maubot-audio-preventer.git
Log | Files | Refs | README | LICENSE

commit 2216c491182947147e3fba2dac1c56a412b23969
parent 6b6a96882d06c58cd59e358c37ce3c1721c96ead
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 17 Aug 2021 01:19:16 +0200

improve wording

Diffstat:
Mmaubot_audio_preventer/bot.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/maubot_audio_preventer/bot.py b/maubot_audio_preventer/bot.py @@ -46,7 +46,8 @@ 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.") + 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.""") self.db.add_user(evt.sender) else: warnings_typed: UserInfo = warnings