diff options
| author | 2020-11-30 15:17:49 +0100 | |
|---|---|---|
| committer | 2020-11-30 15:17:49 +0100 | |
| commit | 32d67a303ec23a5f7ede873d6c5b2acada7c8d8e (patch) | |
| tree | 5314f369c0cfb12d1cc01f2166402bd13d2f0eed /bot/exts/easter/egg_facts.py | |
| parent | Fix empty field in snake movie embed (diff) | |
| parent | Merge pull request #532 from python-discord/sebastiaan/ci/add-core-dev-approv... (diff) | |
Merge branch 'master' into omdb-to-tmdb
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))  |