Ultroid - v0.0.4

ChangeLog - https://t.me/TheUltroid/26
This commit is contained in:
Aditya
2021-03-13 17:26:44 +05:30
committed by GitHub
parent a104e40539
commit cb317c5a72
56 changed files with 2800 additions and 631 deletions

View File

@@ -35,7 +35,7 @@ async def _(e):
except ValueError as ex:
return await eor(e, str(ex))
except AttributeError:
return await eor(e, "No username of replied user wad found")
return await eor(e, "No username of replied user was found.")
else:
put = e.pattern_match.group(1)
if put:
@@ -44,14 +44,10 @@ async def _(e):
except rep:
return await eor(
e,
"`The bot did not respond to the inline query.\nConsider using {}restart`".format(
HNDLR
),
get_string("help_2").format(HNDLR),
)
except dis:
return await eor(
e, "`Please turn on inline mode for your bot from` @Botfather."
)
return await eor(e, get_string("help_3"))
await results[0].click(e.chat_id, reply_to=e.reply_to_msg_id, hide_via=True)
await e.delete()
else:
@@ -126,7 +122,7 @@ async def _(e):
sur = e.builder.article(
title=f"{logi.first_name}",
description=desc,
text=f"@{logi.username} secret msg for you.\nDelete your msg after reading.\nOr the next msg will not be updated.",
text=get_string("wspr_1").format(logi.username),
buttons=button,
)
buddhhu.append(meme)
@@ -162,7 +158,7 @@ async def _(e):
except KeyError:
pass
try:
await e.edit("Msg deleted")
await e.edit(get_string("wspr_2"))
except np:
pass
else: