mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +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...")
|
||||
source = await ctx.reply_to_message.download()
|
||||
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()
|
||||
os.remove(source)
|
||||
os.remove(f"transp_bckgrnd-{ctx.from_user.id}.png")
|
||||
|
|
|
|||
Loading…
Reference in a new issue