v0.0.9 18/07/2021
Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: sppidy <sppidy@users.noreply.github.com> Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com> Co-authored-by: divkix <divkix@users.noreply.github.com> Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com> Co-authored-by: Programming Error <error@notavailable.live>
This commit is contained in:
@@ -42,7 +42,7 @@ async def an(e):
|
||||
if wt and wt.media:
|
||||
wut = mediainfo(wt.media)
|
||||
if wut.startswith(("pic", "gif")):
|
||||
dl = await bot.download_media(wt.media)
|
||||
dl = await wt.download_media()
|
||||
variable = uf(dl)
|
||||
os.remove(dl)
|
||||
m = "https://telegra.ph" + variable[0]
|
||||
@@ -50,7 +50,7 @@ async def an(e):
|
||||
if wt.media.document.size > 8 * 1000 * 1000:
|
||||
return await eod(x, "`Unsupported Media`")
|
||||
else:
|
||||
dl = await bot.download_media(wt.media)
|
||||
dl = await wt.download_media()
|
||||
variable = uf(dl)
|
||||
os.remove(dl)
|
||||
m = "https://telegra.ph" + variable[0]
|
||||
|
||||
Reference in New Issue
Block a user