diff options
Diffstat (limited to 'bot/exts/holidays/easter')
| -rw-r--r-- | bot/exts/holidays/easter/april_fools_vids.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/bunny_name_generator.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/earth_photos.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/easter_riddle.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/egg_decorating.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/egg_facts.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/egghead_quiz.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/easter/traditions.py | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/bot/exts/holidays/easter/april_fools_vids.py b/bot/exts/holidays/easter/april_fools_vids.py index ae22f751..7f46a569 100644 --- a/bot/exts/holidays/easter/april_fools_vids.py +++ b/bot/exts/holidays/easter/april_fools_vids.py @@ -25,6 +25,6 @@ class AprilFoolVideos(commands.Cog): await ctx.send(f"Check out this April Fools' video by {channel}.\n\n{url}") -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the April Fools' Cog.""" - bot.add_cog(AprilFoolVideos()) + await bot.add_cog(AprilFoolVideos()) diff --git a/bot/exts/holidays/easter/bunny_name_generator.py b/bot/exts/holidays/easter/bunny_name_generator.py index f767f7c5..50872ebc 100644 --- a/bot/exts/holidays/easter/bunny_name_generator.py +++ b/bot/exts/holidays/easter/bunny_name_generator.py @@ -89,6 +89,6 @@ class BunnyNameGenerator(commands.Cog): await ctx.send(bunnified_name) -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Bunny Name Generator Cog.""" - bot.add_cog(BunnyNameGenerator()) + await bot.add_cog(BunnyNameGenerator()) diff --git a/bot/exts/holidays/easter/earth_photos.py b/bot/exts/holidays/easter/earth_photos.py index 27442f1c..e60e2626 100644 --- a/bot/exts/holidays/easter/earth_photos.py +++ b/bot/exts/holidays/easter/earth_photos.py @@ -57,9 +57,9 @@ class EarthPhotos(commands.Cog): await ctx.send(embed=embed) -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Earth Photos cog.""" if not Tokens.unsplash_access_key: log.warning("No Unsplash access key found. Cog not loading.") return - bot.add_cog(EarthPhotos(bot)) + await bot.add_cog(EarthPhotos(bot)) diff --git a/bot/exts/holidays/easter/easter_riddle.py b/bot/exts/holidays/easter/easter_riddle.py index c9b7fc53..c5d7b164 100644 --- a/bot/exts/holidays/easter/easter_riddle.py +++ b/bot/exts/holidays/easter/easter_riddle.py @@ -107,6 +107,6 @@ class EasterRiddle(commands.Cog): self.winners.add(message.author.mention) -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Easter Riddle Cog load.""" - bot.add_cog(EasterRiddle(bot)) + await bot.add_cog(EasterRiddle(bot)) diff --git a/bot/exts/holidays/easter/egg_decorating.py b/bot/exts/holidays/easter/egg_decorating.py index 1db9b347..a9334820 100644 --- a/bot/exts/holidays/easter/egg_decorating.py +++ b/bot/exts/holidays/easter/egg_decorating.py @@ -114,6 +114,6 @@ class EggDecorating(commands.Cog): return new_im -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Egg decorating Cog.""" - bot.add_cog(EggDecorating()) + await bot.add_cog(EggDecorating()) diff --git a/bot/exts/holidays/easter/egg_facts.py b/bot/exts/holidays/easter/egg_facts.py index 152af6a4..2fb2041e 100644 --- a/bot/exts/holidays/easter/egg_facts.py +++ b/bot/exts/holidays/easter/egg_facts.py @@ -50,6 +50,6 @@ class EasterFacts(commands.Cog): ) -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Easter Egg facts Cog.""" - bot.add_cog(EasterFacts(bot)) + await bot.add_cog(EasterFacts(bot)) diff --git a/bot/exts/holidays/easter/egghead_quiz.py b/bot/exts/holidays/easter/egghead_quiz.py index 06229537..8f3aa6b0 100644 --- a/bot/exts/holidays/easter/egghead_quiz.py +++ b/bot/exts/holidays/easter/egghead_quiz.py @@ -113,6 +113,6 @@ class EggheadQuiz(commands.Cog): return await reaction.message.remove_reaction(reaction, user) -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Egghead Quiz Cog.""" - bot.add_cog(EggheadQuiz()) + await bot.add_cog(EggheadQuiz()) diff --git a/bot/exts/holidays/easter/traditions.py b/bot/exts/holidays/easter/traditions.py index f54ab5c4..3ac5617c 100644 --- a/bot/exts/holidays/easter/traditions.py +++ b/bot/exts/holidays/easter/traditions.py @@ -23,6 +23,6 @@ class Traditions(commands.Cog): await ctx.send(f"{random_country}:\n{traditions[random_country]}") -def setup(bot: Bot) -> None: +async def setup(bot: Bot) -> None: """Load the Traditions Cog.""" - bot.add_cog(Traditions()) + await bot.add_cog(Traditions()) |