change wording on heic converstion
Some checks failed
Build and push / changes (push) Successful in 13s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 2m25s
Build and push / sync-argocd-app (push) Failing after 1s
Build and push / post-status-to-discord (push) Successful in 2s
Some checks failed
Build and push / changes (push) Successful in 13s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 2m25s
Build and push / sync-argocd-app (push) Failing after 1s
Build and push / post-status-to-discord (push) Successful in 2s
This commit is contained in:
parent
8f3b95f69f
commit
37bbbc891d
@ -84,7 +84,8 @@ async def convert_heic_to_jpg(ctx):
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
await ctx.channel.send(
|
await ctx.channel.send(
|
||||||
"%s said:\n%s" % (ctx.author.mention, ctx.content),
|
"%s uplodaed a file that discord cant natively embed, so I converted it to a jpg:\n%s"
|
||||||
|
% (ctx.author.mention, ctx.content),
|
||||||
file=discord.File(jpg_file),
|
file=discord.File(jpg_file),
|
||||||
)
|
)
|
||||||
os.remove(file_path)
|
os.remove(file_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user