formatting

This commit is contained in:
xditya
2021-02-26 22:33:08 +05:30
parent 066275af66
commit 339d0d82bf
3 changed files with 11 additions and 13 deletions

View File

@@ -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)}"})