discord-webhook-notify icon indicating copy to clipboard operation
discord-webhook-notify copied to clipboard

[Suggestion] Add more options for the webhook

Open Andre601 opened this issue 5 years ago • 7 comments

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.

Andre601 avatar Jan 03 '20 20:01 Andre601

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.

rjstone avatar Jan 04 '20 02:01 rjstone