discord.py
discord.py copied to clipboard
Add new Discord ui colors
Summary
Add new Discord ui colors
What is the feature request for?
The core library
The Problem
Discord just revamped their UI (again). With this comes a few new background colors:
https://discord.com/blog/player-release-q12025
These should be added to colour.py.
I don't have time to look at it now, but if I have the chance I'll grab the colors and add them to the list
The Ideal Solution
Add the colors to colour.py
The Current Solution
No response
Additional Context
No response
I would recommend that the colors be called ui_light, ui_ash, ui_dark, and ui_onyx?
can someone tell me please how this affects a bot? Im not being sarcastic or trying to be rude, just trying to understand.
can someone tell me please how this affects a bot? Im not being sarcastic or trying to be rude, just trying to understand.
Discord.py has historically kept classmethods on discord.Color/Colour that refer to Discord branding colours, think of the default role colours, etc.
Lately this also includes a wider array of them.
This PR would simply add the dominant background colour of the new themes. It's just shortcut methods to access those colours for things like embeds.
@rrbailey89 this wouldn't affect a bot, this issue is just asking for new colour constants to be added to the discord.Colour class, so they can be used to colour the border of an embed, or anything else using this class.
See #10152 for an implementation.
Shouldn't this issue be closed? It looks like the changes have been merged.