2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-22 01:58:17 +00:00

allow everyone to use modmode

This commit is contained in:
Nick80835 2023-10-21 20:59:06 -04:00
parent f24e56e00a
commit 504f9cc1e6

View File

@ -206,7 +206,7 @@ async def fun_toggle(event):
await event.reply("Fun commands disabled for this chat!")
@ldr.add("modmode", sudo=True, admin=True, no_private=True, help="Enables or disables moderation commands for a chat, requires admin.")
@ldr.add("modmode", admin=True, no_private=True, help="Enables or disables moderation commands for a chat, requires admin.\n**MAY BE UNSTABLE!**")
async def modmode_toggle(event):
if event.args.lower() not in ("on", "off"):
if event.chat_db.modmode_enabled: