aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/easter/egg_facts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/easter/egg_facts.py b/bot/seasons/easter/egg_facts.py
index 1a19e48f..6155670e 100644
--- a/bot/seasons/easter/egg_facts.py
+++ b/bot/seasons/easter/egg_facts.py
@@ -35,7 +35,7 @@ class EasterFacts(commands.Cog):
async def send_egg_fact_daily(self):
"""A background task that sends an easter egg fact in the event channel everyday."""
- channel = Channels.seasonalbot_chat
+ channel = self.bot.get_channel(Channels.seasonalbot_chat)
while True:
embed = self.make_embed()
await channel.send(embed=embed)
@@ -58,7 +58,7 @@ class EasterFacts(commands.Cog):
def setup(bot):
- """Easter Egg facts loaded."""
+ """Easter Egg facts cog load."""
bot.loop.create_task(EasterFacts(bot).send_egg_fact_daily())
bot.add_cog(EasterFacts(bot))
log.info("EasterFacts cog loaded")