Upload message as a file #7336
-
Ability to send the content string as a file the same way the client lets you, perhaps by way of a flag? |
Beta Was this translation helpful? Give feedback.
Answered by
advaith1
Jan 7, 2025
Replies: 1 comment
-
the client uploads a text file as a normal attachment, which you can easily do in your code too. https://discord.com/developers/docs/resources/message#create-message |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
appellation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the client uploads a text file as a normal attachment, which you can easily do in your code too.
https://discord.com/developers/docs/resources/message#create-message
https://discord.com/developers/docs/reference#uploading-files