dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
680 stars 161 forks source link

Added a banner color property to BaseUser #394

Closed theAbdoSabbagh closed 1 year ago

theAbdoSabbagh commented 1 year ago

Summary

I noticed BaseUser does not have a property for banner color, so I added it. This PR has it.

General Info

Note

I have updated the documentation to reflect the changes.

I did add a description string to the property, but I didn't change the actual documentation of the library.

dolfies commented 1 year ago

Banner color is just a deprecated precursor to accent color. The fields are identical. This PR wouldn't function anyway as banner_color is a stringified hex representation of a color, not an integer.