feat: add new parameters to discord.Embed#1996
feat: add new parameters to discord.Embed#1996Lulalaby merged 13 commits intoPycord-Development:masterfrom
discord.Embed#1996Conversation
for more information, see https://pre-commit.ci
discord.Embed
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1996 +/- ##
==========================================
- Coverage 33.33% 33.32% -0.01%
==========================================
Files 97 97
Lines 18900 18916 +16
==========================================
+ Hits 6300 6304 +4
- Misses 12600 12612 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
JustaSqu1d
left a comment
There was a problem hiding this comment.
Also, note the change in their respective properties.
|
Should we deprecate |
I think that's a good idea yes |
On second thought, I'd leave it in, you still have the |
No, not in every case you want to use the constructor. |
|
I mean, I don't really see the point in this but, idk. |
plun1331
left a comment
There was a problem hiding this comment.
Ideally, embed.footer and embed.author should return their respective classes
Head branch was pushed to by a user without write access
65417f1
|
Not sure what |
it's a value returned by discord that proxies the image through their cdn iirc |
That's correct |
Summary
This PR adds parameters to
discord.Embedas proposed in #1995.It also adds 2 new classes to support the latter. The classes are:
EmbedFooterandEmbedAuthorExample:
which produces
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.