Minor Fixes and Update deploy link

Minor Fixes and Update deploy link

Co-authored-by: Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ <87496159+Harpia-Vieillot@users.noreply.github.com> 
Co-authored-by: AkashPattanaik  <akashpattnaik.github@gmail.com>
Co-authored-by: Dark 
<DarkBeamerYT@users.noreply.github.com>
This commit is contained in:
Devesh Pal
2021-11-17 10:06:58 +05:30
committed by GitHub
parent 622569d29b
commit cd5cf96d02
5 changed files with 36 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ async def _(e):
wut = mediainfo(reply.media)
if not wut.startswith(("pic", "sticker")):
return await eor(e, get_string("com_4"))
xx = await eor(e, "`Gliching...`")
xx = await eor(e, "`Glitching...`")
ok = await e.client.download_media(reply.media)
cmd = f"glitch_me gif --line_count 200 -f 10 -d 50 '{ok}' ult.gif"
stdout, stderr = await bash(cmd)

View File

@@ -57,7 +57,7 @@ Note = "\n\nNote: `{mention}`, `{group}`, `{count}`, `{name}`, `{fullname}`, `{u
async def setwel(event):
x = await eor(event, get_string("com_1"))
r = await event.get_reply_message()
btn = format_btn(r.buttons) if r.buttons else None
btn = format_btn(r.buttons) if (r and r.buttons) else None
if r and r.media:
wut = mediainfo(r.media)
if wut.startswith(("pic", "gif")):
@@ -120,7 +120,7 @@ async def listwel(event):
async def setgb(event):
x = await eor(event, get_string("com_1"))
r = await event.get_reply_message()
btn = format_btn(r.buttons) if r.buttons else None
btn = format_btn(r.buttons) if (r and r.buttons) else None
if r and r.media:
wut = mediainfo(r.media)
if wut.startswith(("pic", "gif")):
@@ -182,7 +182,7 @@ async def listgd(event):
@ultroid_cmd(pattern="thankmembers (on|off)", groups_only=True)
async def thank_set(event):
type_ = event.pattern_match.group(1)
if not type_ or type_ == "":
if not type_:
await eor(
event,
f"**Current Chat Settings:**\n**Thanking Members:** `{must_thank(event.chat_id)}`\n\nUse `{HNDLR}thankmembers on` or `{HNDLR}thankmembers off` to toggle current settings!",

View File

@@ -235,7 +235,7 @@ async def _(e):
await z.delete()
os.remove(c)
else:
await eor(e, "**Reply to a gif or audio file only**")
await eor(e, "**Reply to a gif or video file only**")
@ultroid_cmd(