Added and updated repositories 2026-05-31 02:47:15

This commit is contained in:
github-actions[bot]
2026-05-31 02:47:16 +00:00
parent d279789b37
commit 811beb2b74
25 changed files with 1905 additions and 809 deletions

View File

@@ -6,11 +6,6 @@
# |_|\_\___| |_| |_|\___/ \__,_|___/
# @ke_mods
# =======================================
#
# LICENSE: CC BY-ND 4.0 (Attribution-NoDerivatives 4.0 International)
# --------------------------------------
# https://creativecommons.org/licenses/by-nd/4.0/legalcode
# =======================================
# meta developer: @ke_mods
@@ -43,10 +38,10 @@ class UnbanAllMod(loader.Module):
chat = await message.get_chat()
if not chat.admin_rights and not chat.creator:
await utils.answer(message, self.strings("no_rights"))
await utils.answer(message, self.strings["no_rights"])
return
await utils.answer(message, self.strings("unban_in_process"))
await utils.answer(message, self.strings["unban_in_process"])
no_banned = True
@@ -64,11 +59,11 @@ class UnbanAllMod(loader.Module):
))
except Exception as e:
await utils.answer(message, self.strings("error_occured").format(user.id, e))
await utils.answer(message, self.strings["error_occured"].format(user.id, e))
pass
if no_banned:
await utils.answer(message, self.strings("no_banned"))
await utils.answer(message, self.strings["no_banned"])
return
await utils.answer(message, self.strings("success"))
await utils.answer(message, self.strings["success"])