mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 04:14:51 +00:00
fix
This commit is contained in:
parent
8877f4c156
commit
4cdaab408e
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ async def removebg(_, ctx: Client):
|
||||||
prg = await ctx.reply("Processing...")
|
prg = await ctx.reply("Processing...")
|
||||||
source = await ctx.reply_to_message.download()
|
source = await ctx.reply_to_message.download()
|
||||||
await gen_trans_image(source, f"transp_bckgrnd-{ctx.from_user.id}.png")
|
await gen_trans_image(source, f"transp_bckgrnd-{ctx.from_user.id}.png")
|
||||||
await ctx.reply_photo(f"transp_bckgrnd-{ctx.from_user.id}.png")
|
await ctx.reply_document(f"transp_bckgrnd-{ctx.from_user.id}.png")
|
||||||
await prg.delete_msg()
|
await prg.delete_msg()
|
||||||
os.remove(source)
|
os.remove(source)
|
||||||
os.remove(f"transp_bckgrnd-{ctx.from_user.id}.png")
|
os.remove(f"transp_bckgrnd-{ctx.from_user.id}.png")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue