Skip to content

Webhooks don't use discord.json formatting #700

Answered by mbround18
RickDT asked this question in Help!
Discussion options

You must be logged in to vote

@RickDT, so looking over the logic and catching myself back up. We ingest the webhook url and see if its a discord one:

If its a discord looking url we pass it over to the discord webhook manager structure. This structure converts it over to what discords looking for:

When it posts it follows the discord API spec found here:

https://discord.com/developers/docs/resources/channel#embed-object

As an action item, i should explain this better in the documentation <3 ill create a task for myself to upgrade that doc section :) hope this helps!

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@mbround18
Comment options

Answer selected by RickDT
@RickDT
Comment options

Comment options

You must be logged in to vote
1 reply
@mbround18
Comment options

Comment options

You must be logged in to vote
1 reply
@mbround18
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help!
Labels
odin Tag if theres an issue with odin
3 participants