diff options
| author | 2020-11-23 16:45:43 +0200 | |
|---|---|---|
| committer | 2020-11-23 16:45:43 +0200 | |
| commit | 252ed41579eb4ba9627950d4e225912208e30d00 (patch) | |
| tree | 60eee5c6b2bd1d469ed305590cd97ad378b1ea49 /bot/exts/easter/egg_facts.py | |
| parent | fix typos in docstring (diff) | |
| parent | Add a banner and fix the README a bit. (diff) | |
Merge branch 'master' into feature/wonder-twins-command
Diffstat (limited to 'bot/exts/easter/egg_facts.py')
| -rw-r--r-- | bot/exts/easter/egg_facts.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/easter/egg_facts.py b/bot/exts/easter/egg_facts.py index 0051aa50..761e9059 100644 --- a/bot/exts/easter/egg_facts.py +++ b/bot/exts/easter/egg_facts.py @@ -6,7 +6,7 @@ from pathlib import Path  import discord  from discord.ext import commands -from bot.bot import SeasonalBot +from bot.bot import Bot  from bot.constants import Channels, Colours, Month  from bot.utils.decorators import seasonal_task @@ -20,7 +20,7 @@ class EasterFacts(commands.Cog):      It also contains a background task which sends an easter egg fact in the event channel everyday.      """ -    def __init__(self, bot: SeasonalBot): +    def __init__(self, bot: Bot):          self.bot = bot          self.facts = self.load_json() @@ -38,7 +38,7 @@ class EasterFacts(commands.Cog):          """A background task that sends an easter egg fact in the event channel everyday."""          await self.bot.wait_until_guild_available() -        channel = self.bot.get_channel(Channels.seasonalbot_commands) +        channel = self.bot.get_channel(Channels.community_bot_commands)          await channel.send(embed=self.make_embed())      @commands.command(name='eggfact', aliases=['fact']) @@ -56,6 +56,6 @@ class EasterFacts(commands.Cog):          ) -def setup(bot: SeasonalBot) -> None: +def setup(bot: Bot) -> None:      """Easter Egg facts cog load."""      bot.add_cog(EasterFacts(bot))  |