new: .rename plugin.

This commit is contained in:
thedragonsinn
2023-12-21 16:14:42 +05:30
parent 90d663b00b
commit 7bdfe0392f
16 changed files with 107 additions and 98 deletions

View File

@@ -41,7 +41,7 @@ async def del_scmd(bot: BOT, message: Message):
CMD: DELSCMD
INFO: Remove Sudo Commands.
FLAGS: -all to instantly remove all Commands.
USAGE:
USAGE:
.delscmd ping | .delscmd -all
"""
if "-all" in message.flags:

View File

@@ -18,7 +18,7 @@ async def sudo(bot: BOT, message: Message):
CMD: SUDO
INFO: Enable/Disable sudo..
FLAGS: -c to check sudo status.
USAGE:
USAGE:
.sudo | .sudo -c
"""
if "-c" in message.flags:
@@ -36,7 +36,7 @@ async def add_sudo(bot: BOT, message: Message) -> Message | None:
CMD: ADDSUDO
INFO: Add Sudo User.
FLAGS: -temp to temporarily add until bot restarts.
USAGE:
USAGE:
.addsudo [-temp] [ UID | @ | Reply to Message ]
"""
response = await message.reply("Extracting User info...")
@@ -67,7 +67,7 @@ async def remove_sudo(bot: BOT, message: Message) -> Message | None:
CMD: DELSUDO
INFO: Add Remove User.
FLAGS: -temp to temporarily remove until bot restarts.
USAGE:
USAGE:
.delsudo [-temp] [ UID | @ | Reply to Message ]
"""
response = await message.reply("Extracting User info...")
@@ -97,7 +97,7 @@ async def sudo_list(bot: BOT, message: Message):
CMD: VSUDO
INFO: View Sudo Users.
FLAGS: -id to get UIDs
USAGE:
USAGE:
.vsudo | .vsudo -id
"""
output: str = ""