Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document or automate attachment:// URLs in embeds #2440

Open
kangalio opened this issue May 20, 2023 · 1 comment
Open

Document or automate attachment:// URLs in embeds #2440

kangalio opened this issue May 20, 2023 · 1 comment
Labels
docs Related to documentation. feature-request A new requested functionality. http Related to the `http` module.

Comments

@kangalio
Copy link
Collaborator

kangalio commented May 20, 2023

Screenshot_20230520_102552
Link

Serenity should either document this, or CreateEmbed should automatically move attachments it receives into the multipart form data and generate the attachment:// URL

Context
Another instance

@arqunis arqunis added docs Related to documentation. feature-request A new requested functionality. http Related to the `http` module. labels Jul 15, 2023
@NightFeather0615
Copy link

The first context should work fine without attachments (at least on my machine), Discord embed supports HTTP(S) URLs by default.

I notice that CreateEmbed has a function called attachment but it seems to set the attachment to embed's image, is there a FAQ page like discord.py that we can use to provide a tutorial for local images?

By the way, the embed's author section doesn't seem to show up if you don't have a name set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Related to documentation. feature-request A new requested functionality. http Related to the `http` module.
Projects
None yet
Development

No branches or pull requests

3 participants