diff options
author | 2023-05-06 16:12:32 +0100 | |
---|---|---|
committer | 2023-05-09 15:41:50 +0100 | |
commit | 613840ebcf303e84048d48ace37fb001c1afe687 (patch) | |
tree | 9acaf0bae0527fe8389483a419b44e06997ca060 /bot/constants.py | |
parent | Migrate to ruff (diff) |
Apply fixes for ruff linting
Co-authored-by: wookie184 <[email protected]>
Co-authored-by: Amrou Bellalouna <[email protected]>
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py index a5f12fe2..230cccf0 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -129,6 +129,8 @@ Logging = _Logging() class Colours: + """Lookups for commonly used colours.""" + blue = 0x0279FD twitter_blue = 0x1DA1F2 bright_green = 0x01D277 @@ -163,6 +165,8 @@ class Colours: class Emojis: + """Commonly used emojis.""" + cross_mark = "\u274C" check = "\u2611" envelope = "\U0001F4E8" @@ -235,6 +239,8 @@ class Emojis: class Icons: + """URLs to commonly used icons.""" + questionmark = "https://cdn.discordapp.com/emojis/512367613339369475.png" bookmark = ( "https://images-ext-2.discordapp.net/external/zl4oDwcmxUILY7sD9ZWE2fU5R7n6QcxEmPYSE5eddbg/" @@ -243,6 +249,8 @@ class Icons: class Month(enum.IntEnum): + """Month of the year lookup. Used for in_month checks.""" + JANUARY = 1 FEBRUARY = 2 MARCH = 3 |