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

[Suggestion] Add more options for the webhook #3

Open
Andre601 opened this issue Jan 3, 2020 · 2 comments
Open

[Suggestion] Add more options for the webhook #3

Andre601 opened this issue Jan 3, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Andre601
Copy link

Andre601 commented Jan 3, 2020

I think this Action could benefit from more options to be available (depending on how difficult they are to implement of course.)

Author in embed

Maybe have options like author_name, author_url and author_avatar to add the author-object within the webhook itself.
author_url and author_avatar could be optional when author_name is used since they can be set to null.

Title

Similar to the Author, but with the title option instead.
Names could be title and title_url, which would be the title (text) and URL to link in the title respectively. Url would be an optional thing.

Thumbnail and Image

A thumbnail and image option would be good to add images to the embed itself.

Fields.

This would probably be the most difficult ones and I honestly can't quite see a scenario where this could be used, but I want to suggest it anyway. xD

Auto-cut text

I don't know if this action auto-cuts text if it is too long for a webhook. If it is, ignore this, if not, maybe consider adding it, to prevent errors.

@rjstone rjstone self-assigned this Jan 4, 2020
@rjstone rjstone added enhancement New feature or request help wanted Extra attention is needed labels Jan 4, 2020
@rjstone
Copy link
Owner

rjstone commented Jan 4, 2020

Ok, I'll have to look into the webhook json format more to see what can be done. Originally the idea was to try to support everything but not necessarily use everything by default.

@melyux
Copy link

melyux commented Dec 3, 2024

Is there a way to add an image right now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants