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

Issue #309: !prepembed webhook support #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nydauron
Copy link
Contributor

Closes #309.

Copy link
Owner

@cbrxyz cbrxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks like a good change, just have some questions.

Thanks!

Comment on lines +1557 to +1568
embed = assembleEmbed(
title=title,
desc=desc,
titleUrl=titleUrl,
hexcolor=hexcolor,
webcolor=webcolor,
thumbnailUrl=thumbnailUrl,
fields=fields,
footerText=footerText,
footerUrl=footerUrl,
imageUrl=imageUrl
)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are the authorName, authorUrl, and authorIcon parameters removed from this function call? Those parameters should still be able to be set because they belong to the embed itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems kinda redundant to display the username and pfp on the embed and then again on the webhook. The only other use case is if we want the webhook to display something different to the author of the embed. This probably can be implemented easily ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for webhook authorship with !prepembed
2 participants