Skip to content

Thumbnail not displayed correctly in embed messages on certain servers #9655

Closed Answered by LostLuma
ElieTaillard asked this question in Q&A
Discussion options

You must be logged in to vote

This happens because you can not re-use a discord.File in multiple Messagable.send calls, as is stated in the documentation (read the Note!). What you will want to do is construct a new File using the same underlying file (the BytesIO instance, in your case) whenever sending it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ElieTaillard
Comment options

Answer selected by ElieTaillard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants