From 05fd9426e18effddc0f2b9293bca5ab174b526b6 Mon Sep 17 00:00:00 2001 From: Rohan Date: Sun, 31 Mar 2019 12:12:25 +0530 Subject: using the Colours from constants.py and added 2 colors - blue for christmas and yellow for easter --- bot/constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index b19d494b..3896dd83 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -59,6 +59,8 @@ class Client(NamedTuple): class Colours: + blue = 0x0279fd + yellow = 0xf9f586 soft_red = 0xcd6d6d soft_green = 0x68c290 bright_green = 0x01d277 -- cgit v1.2.3 From 033794a505af0debb2d1db08fac17676f3a0f64f Mon Sep 17 00:00:00 2001 From: Rohan Date: Sun, 31 Mar 2019 14:27:49 +0530 Subject: added doc strings to setup function and removed yellow color from constants cuz ill add it when i make PR for easter --- bot/constants.py | 1 - bot/seasons/christmas/hanukkah_embed.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 3896dd83..993a0f81 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -60,7 +60,6 @@ class Client(NamedTuple): class Colours: blue = 0x0279fd - yellow = 0xf9f586 soft_red = 0xcd6d6d soft_green = 0x68c290 bright_green = 0x01d277 diff --git a/bot/seasons/christmas/hanukkah_embed.py b/bot/seasons/christmas/hanukkah_embed.py index 85d91675..ca69999e 100644 --- a/bot/seasons/christmas/hanukkah_embed.py +++ b/bot/seasons/christmas/hanukkah_embed.py @@ -108,5 +108,6 @@ class HanukkahEmbed(commands.Cog): def setup(bot): + """A function to add the cog.""" bot.add_cog(HanukkahEmbed(bot)) log.info("Hanukkah embed cog loaded") -- cgit v1.2.3