aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/holidays
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/holidays')
-rw-r--r--bot/exts/holidays/earth_day/save_the_planet.py4
-rw-r--r--bot/exts/holidays/easter/april_fools_vids.py4
-rw-r--r--bot/exts/holidays/easter/bunny_name_generator.py4
-rw-r--r--bot/exts/holidays/easter/earth_photos.py4
-rw-r--r--bot/exts/holidays/easter/easter_riddle.py4
-rw-r--r--bot/exts/holidays/easter/egg_decorating.py4
-rw-r--r--bot/exts/holidays/easter/egg_facts.py4
-rw-r--r--bot/exts/holidays/easter/egghead_quiz.py4
-rw-r--r--bot/exts/holidays/easter/traditions.py4
-rw-r--r--bot/exts/holidays/halloween/8ball.py4
-rw-r--r--bot/exts/holidays/halloween/candy_collection.py4
-rw-r--r--bot/exts/holidays/halloween/halloween_facts.py4
-rw-r--r--bot/exts/holidays/halloween/halloweenify.py4
-rw-r--r--bot/exts/holidays/halloween/monsterbio.py4
-rw-r--r--bot/exts/holidays/halloween/monstersurvey.py4
-rw-r--r--bot/exts/holidays/halloween/scarymovie.py4
-rw-r--r--bot/exts/holidays/halloween/spookygif.py4
-rw-r--r--bot/exts/holidays/halloween/spookynamerate.py4
-rw-r--r--bot/exts/holidays/halloween/spookyrating.py4
-rw-r--r--bot/exts/holidays/halloween/spookyreact.py4
-rw-r--r--bot/exts/holidays/hanukkah/hanukkah_embed.py4
-rw-r--r--bot/exts/holidays/pride/drag_queen_name.py4
-rw-r--r--bot/exts/holidays/pride/pride_anthem.py4
-rw-r--r--bot/exts/holidays/pride/pride_facts.py4
-rw-r--r--bot/exts/holidays/pride/pride_leader.py4
-rw-r--r--bot/exts/holidays/valentines/be_my_valentine.py4
-rw-r--r--bot/exts/holidays/valentines/lovecalculator.py4
-rw-r--r--bot/exts/holidays/valentines/movie_generator.py4
-rw-r--r--bot/exts/holidays/valentines/myvalenstate.py4
-rw-r--r--bot/exts/holidays/valentines/pickuplines.py4
-rw-r--r--bot/exts/holidays/valentines/savethedate.py4
-rw-r--r--bot/exts/holidays/valentines/valentine_zodiac.py4
-rw-r--r--bot/exts/holidays/valentines/whoisvalentine.py4
33 files changed, 66 insertions, 66 deletions
diff --git a/bot/exts/holidays/earth_day/save_the_planet.py b/bot/exts/holidays/earth_day/save_the_planet.py
index 13c84886..63836faf 100644
--- a/bot/exts/holidays/earth_day/save_the_planet.py
+++ b/bot/exts/holidays/earth_day/save_the_planet.py
@@ -20,6 +20,6 @@ class SaveThePlanet(commands.Cog):
await ctx.send(embed=return_embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Save the Planet Cog."""
- bot.add_cog(SaveThePlanet())
+ await bot.add_cog(SaveThePlanet())
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())
diff --git a/bot/exts/holidays/halloween/8ball.py b/bot/exts/holidays/halloween/8ball.py
index 4fec8463..21b55a01 100644
--- a/bot/exts/holidays/halloween/8ball.py
+++ b/bot/exts/holidays/halloween/8ball.py
@@ -26,6 +26,6 @@ class SpookyEightBall(commands.Cog):
await msg.edit(content=f"{choice[0]} \n{choice[1]}")
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Spooky Eight Ball Cog."""
- bot.add_cog(SpookyEightBall())
+ await bot.add_cog(SpookyEightBall())
diff --git a/bot/exts/holidays/halloween/candy_collection.py b/bot/exts/holidays/halloween/candy_collection.py
index 220ba8e5..ee23ed59 100644
--- a/bot/exts/holidays/halloween/candy_collection.py
+++ b/bot/exts/holidays/halloween/candy_collection.py
@@ -214,6 +214,6 @@ class CandyCollection(commands.Cog):
await ctx.send(embed=e)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Candy Collection Cog."""
- bot.add_cog(CandyCollection(bot))
+ await bot.add_cog(CandyCollection(bot))
diff --git a/bot/exts/holidays/halloween/halloween_facts.py b/bot/exts/holidays/halloween/halloween_facts.py
index adde2310..a0d63f64 100644
--- a/bot/exts/holidays/halloween/halloween_facts.py
+++ b/bot/exts/holidays/halloween/halloween_facts.py
@@ -50,6 +50,6 @@ class HalloweenFacts(commands.Cog):
return discord.Embed(title=title, description=fact, color=PUMPKIN_ORANGE)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Halloween Facts Cog."""
- bot.add_cog(HalloweenFacts())
+ await bot.add_cog(HalloweenFacts())
diff --git a/bot/exts/holidays/halloween/halloweenify.py b/bot/exts/holidays/halloween/halloweenify.py
index 03b52589..a16ea6cc 100644
--- a/bot/exts/holidays/halloween/halloweenify.py
+++ b/bot/exts/holidays/halloween/halloweenify.py
@@ -59,6 +59,6 @@ class Halloweenify(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Halloweenify Cog."""
- bot.add_cog(Halloweenify())
+ await bot.add_cog(Halloweenify())
diff --git a/bot/exts/holidays/halloween/monsterbio.py b/bot/exts/holidays/halloween/monsterbio.py
index 0556a193..8e83e9d1 100644
--- a/bot/exts/holidays/halloween/monsterbio.py
+++ b/bot/exts/holidays/halloween/monsterbio.py
@@ -49,6 +49,6 @@ class MonsterBio(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Monster Bio Cog."""
- bot.add_cog(MonsterBio())
+ await bot.add_cog(MonsterBio())
diff --git a/bot/exts/holidays/halloween/monstersurvey.py b/bot/exts/holidays/halloween/monstersurvey.py
index f3433886..517f1bcb 100644
--- a/bot/exts/holidays/halloween/monstersurvey.py
+++ b/bot/exts/holidays/halloween/monstersurvey.py
@@ -200,6 +200,6 @@ class MonsterSurvey(Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Monster Survey Cog."""
- bot.add_cog(MonsterSurvey())
+ await bot.add_cog(MonsterSurvey())
diff --git a/bot/exts/holidays/halloween/scarymovie.py b/bot/exts/holidays/halloween/scarymovie.py
index 89310b97..74bcef90 100644
--- a/bot/exts/holidays/halloween/scarymovie.py
+++ b/bot/exts/holidays/halloween/scarymovie.py
@@ -120,6 +120,6 @@ class ScaryMovie(commands.Cog):
return embed
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Scary Movie Cog."""
- bot.add_cog(ScaryMovie(bot))
+ await bot.add_cog(ScaryMovie(bot))
diff --git a/bot/exts/holidays/halloween/spookygif.py b/bot/exts/holidays/halloween/spookygif.py
index 91d50fb9..750e86ca 100644
--- a/bot/exts/holidays/halloween/spookygif.py
+++ b/bot/exts/holidays/halloween/spookygif.py
@@ -33,6 +33,6 @@ class SpookyGif(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Spooky GIF Cog load."""
- bot.add_cog(SpookyGif(bot))
+ await bot.add_cog(SpookyGif(bot))
diff --git a/bot/exts/holidays/halloween/spookynamerate.py b/bot/exts/holidays/halloween/spookynamerate.py
index 02fb71c3..8c801a2f 100644
--- a/bot/exts/holidays/halloween/spookynamerate.py
+++ b/bot/exts/holidays/halloween/spookynamerate.py
@@ -386,6 +386,6 @@ class SpookyNameRate(Cog):
self.announce_name.cancel()
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the SpookyNameRate Cog."""
- bot.add_cog(SpookyNameRate(bot))
+ await bot.add_cog(SpookyNameRate(bot))
diff --git a/bot/exts/holidays/halloween/spookyrating.py b/bot/exts/holidays/halloween/spookyrating.py
index ec6e8821..373b6583 100644
--- a/bot/exts/holidays/halloween/spookyrating.py
+++ b/bot/exts/holidays/halloween/spookyrating.py
@@ -62,6 +62,6 @@ class SpookyRating(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Spooky Rating Cog."""
- bot.add_cog(SpookyRating())
+ await bot.add_cog(SpookyRating())
diff --git a/bot/exts/holidays/halloween/spookyreact.py b/bot/exts/holidays/halloween/spookyreact.py
index e228b91d..2cbabdb4 100644
--- a/bot/exts/holidays/halloween/spookyreact.py
+++ b/bot/exts/holidays/halloween/spookyreact.py
@@ -65,6 +65,6 @@ class SpookyReact(Cog):
return False
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Spooky Reaction Cog."""
- bot.add_cog(SpookyReact(bot))
+ await bot.add_cog(SpookyReact(bot))
diff --git a/bot/exts/holidays/hanukkah/hanukkah_embed.py b/bot/exts/holidays/hanukkah/hanukkah_embed.py
index 5767f91e..1ebc21e8 100644
--- a/bot/exts/holidays/hanukkah/hanukkah_embed.py
+++ b/bot/exts/holidays/hanukkah/hanukkah_embed.py
@@ -96,6 +96,6 @@ class HanukkahEmbed(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Hanukkah Embed Cog."""
- bot.add_cog(HanukkahEmbed(bot))
+ await bot.add_cog(HanukkahEmbed(bot))
diff --git a/bot/exts/holidays/pride/drag_queen_name.py b/bot/exts/holidays/pride/drag_queen_name.py
index bd01a603..0c1ca6fb 100644
--- a/bot/exts/holidays/pride/drag_queen_name.py
+++ b/bot/exts/holidays/pride/drag_queen_name.py
@@ -21,6 +21,6 @@ class DragNames(commands.Cog):
await ctx.send(random.choice(NAMES))
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Drag Names Cog."""
- bot.add_cog(DragNames())
+ await bot.add_cog(DragNames())
diff --git a/bot/exts/holidays/pride/pride_anthem.py b/bot/exts/holidays/pride/pride_anthem.py
index e8a4563b..6b78cba1 100644
--- a/bot/exts/holidays/pride/pride_anthem.py
+++ b/bot/exts/holidays/pride/pride_anthem.py
@@ -46,6 +46,6 @@ class PrideAnthem(commands.Cog):
await ctx.send("I couldn't find a video, sorry!")
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Pride Anthem Cog."""
- bot.add_cog(PrideAnthem())
+ await bot.add_cog(PrideAnthem())
diff --git a/bot/exts/holidays/pride/pride_facts.py b/bot/exts/holidays/pride/pride_facts.py
index 340f0b43..ae025ae7 100644
--- a/bot/exts/holidays/pride/pride_facts.py
+++ b/bot/exts/holidays/pride/pride_facts.py
@@ -94,6 +94,6 @@ class PrideFacts(commands.Cog):
)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Pride Facts Cog."""
- bot.add_cog(PrideFacts(bot))
+ await bot.add_cog(PrideFacts(bot))
diff --git a/bot/exts/holidays/pride/pride_leader.py b/bot/exts/holidays/pride/pride_leader.py
index adf01134..120e9e16 100644
--- a/bot/exts/holidays/pride/pride_leader.py
+++ b/bot/exts/holidays/pride/pride_leader.py
@@ -112,6 +112,6 @@ class PrideLeader(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Pride Leader Cog."""
- bot.add_cog(PrideLeader(bot))
+ await bot.add_cog(PrideLeader(bot))
diff --git a/bot/exts/holidays/valentines/be_my_valentine.py b/bot/exts/holidays/valentines/be_my_valentine.py
index cbb95157..5ffd14e6 100644
--- a/bot/exts/holidays/valentines/be_my_valentine.py
+++ b/bot/exts/holidays/valentines/be_my_valentine.py
@@ -163,6 +163,6 @@ class BeMyValentine(commands.Cog):
return random.choice(self.valentines["valentine_compliments"])
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Be my Valentine Cog."""
- bot.add_cog(BeMyValentine(bot))
+ await bot.add_cog(BeMyValentine(bot))
diff --git a/bot/exts/holidays/valentines/lovecalculator.py b/bot/exts/holidays/valentines/lovecalculator.py
index 10dea9df..c212e833 100644
--- a/bot/exts/holidays/valentines/lovecalculator.py
+++ b/bot/exts/holidays/valentines/lovecalculator.py
@@ -95,6 +95,6 @@ class LoveCalculator(Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Love calculator Cog."""
- bot.add_cog(LoveCalculator())
+ await bot.add_cog(LoveCalculator())
diff --git a/bot/exts/holidays/valentines/movie_generator.py b/bot/exts/holidays/valentines/movie_generator.py
index d2dc8213..64b86f1b 100644
--- a/bot/exts/holidays/valentines/movie_generator.py
+++ b/bot/exts/holidays/valentines/movie_generator.py
@@ -62,6 +62,6 @@ class RomanceMovieFinder(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Romance movie Cog."""
- bot.add_cog(RomanceMovieFinder(bot))
+ await bot.add_cog(RomanceMovieFinder(bot))
diff --git a/bot/exts/holidays/valentines/myvalenstate.py b/bot/exts/holidays/valentines/myvalenstate.py
index 4b547d9b..8d8772d4 100644
--- a/bot/exts/holidays/valentines/myvalenstate.py
+++ b/bot/exts/holidays/valentines/myvalenstate.py
@@ -77,6 +77,6 @@ class MyValenstate(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Valenstate Cog."""
- bot.add_cog(MyValenstate())
+ await bot.add_cog(MyValenstate())
diff --git a/bot/exts/holidays/valentines/pickuplines.py b/bot/exts/holidays/valentines/pickuplines.py
index bc4b88c6..8562a07d 100644
--- a/bot/exts/holidays/valentines/pickuplines.py
+++ b/bot/exts/holidays/valentines/pickuplines.py
@@ -36,6 +36,6 @@ class PickupLine(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Pickup lines Cog."""
- bot.add_cog(PickupLine())
+ await bot.add_cog(PickupLine())
diff --git a/bot/exts/holidays/valentines/savethedate.py b/bot/exts/holidays/valentines/savethedate.py
index 3638c1ef..7fd644df 100644
--- a/bot/exts/holidays/valentines/savethedate.py
+++ b/bot/exts/holidays/valentines/savethedate.py
@@ -33,6 +33,6 @@ class SaveTheDate(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Save the date Cog."""
- bot.add_cog(SaveTheDate())
+ await bot.add_cog(SaveTheDate())
diff --git a/bot/exts/holidays/valentines/valentine_zodiac.py b/bot/exts/holidays/valentines/valentine_zodiac.py
index d1b3a630..0a28a5c5 100644
--- a/bot/exts/holidays/valentines/valentine_zodiac.py
+++ b/bot/exts/holidays/valentines/valentine_zodiac.py
@@ -141,6 +141,6 @@ class ValentineZodiac(commands.Cog):
log.trace("Embed from date successfully sent.")
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Valentine zodiac Cog."""
- bot.add_cog(ValentineZodiac())
+ await bot.add_cog(ValentineZodiac())
diff --git a/bot/exts/holidays/valentines/whoisvalentine.py b/bot/exts/holidays/valentines/whoisvalentine.py
index 67e46aa4..c652e616 100644
--- a/bot/exts/holidays/valentines/whoisvalentine.py
+++ b/bot/exts/holidays/valentines/whoisvalentine.py
@@ -44,6 +44,6 @@ class ValentineFacts(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Who is Valentine Cog."""
- bot.add_cog(ValentineFacts())
+ await bot.add_cog(ValentineFacts())