formatting
This commit is contained in:
@@ -30,6 +30,7 @@ from . import *
|
||||
|
||||
bot = "@MissRose_bot"
|
||||
|
||||
|
||||
@ultroid_cmd(pattern="superfban ?(.*)")
|
||||
async def _(event):
|
||||
msg = await eor(event, "Starting a Mass-FedBan...")
|
||||
@@ -331,6 +332,7 @@ async def _(event):
|
||||
f"SuperUnFBan Completed.\nTotal Feds - {len(fedlist)}.\nExcluded - {exCount}.\n Affected {len(fedList) - exCount} feds.\n#TB"
|
||||
)
|
||||
|
||||
|
||||
@ultroid_cmd(pattern="fstat ?(.*)")
|
||||
async def _(event):
|
||||
ok = await event.edit("`Checking...`")
|
||||
@@ -363,7 +365,7 @@ async def _(event):
|
||||
event.chat_id,
|
||||
audio,
|
||||
caption=f"List of feds {user} has been banned in.\n\nCollected using Ultroid.",
|
||||
link_preview=False
|
||||
link_preview=False,
|
||||
)
|
||||
else:
|
||||
await ultroid.send_message(event.chat_id, audio.text)
|
||||
@@ -372,6 +374,7 @@ async def _(event):
|
||||
except YouBlockedUserError:
|
||||
await ok.edit("**Error**\n `Unblock` @MissRose_Bot `and try again!")
|
||||
|
||||
|
||||
@ultroid_cmd(pattern="fedinfo ?(.*)")
|
||||
async def _(event):
|
||||
ok = await event.edit("`Extracting information...`")
|
||||
@@ -387,4 +390,5 @@ async def _(event):
|
||||
except YouBlockedUserError:
|
||||
await ok.edit("**Error**\n `Unblock` @MissRose_Bot `and try again!")
|
||||
|
||||
|
||||
HELP.update({f"{__name__.split('.')[1]}": f"{__doc__.format(i=Var.HNDLR)}"})
|
||||
|
||||
Reference in New Issue
Block a user