-
... |
Beta Was this translation helpful? Give feedback.
Answered by
Rapptz
Nov 18, 2020
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
discord.File
accepts either an actual file or a string representing a filename. You're passing itbytes
-- which is neither. As a result it's interpreting it as a filename. You probably want to write your bytes intoio.BytesIO
.