diff options
| author | 2022-11-02 02:07:29 -0700 | |
|---|---|---|
| committer | 2022-11-02 02:07:29 -0700 | |
| commit | 43a2acf5ee4eb354ce3dfaeef9504eee9b9b46b4 (patch) | |
| tree | cbdfeb08f8d582aa98acec6a529f0fa3dcd7933c /bot/exts/holidays/valentines | |
| parent | Appeased the formatter (diff) | |
| parent | Merge pull request #1137 from DivyanshuBist/bug-issue1122-message-of-type-None (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'bot/exts/holidays/valentines')
| -rw-r--r-- | bot/exts/holidays/valentines/be_my_valentine.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/lovecalculator.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/movie_generator.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/myvalenstate.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/pickuplines.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/savethedate.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/valentine_zodiac.py | 4 | ||||
| -rw-r--r-- | bot/exts/holidays/valentines/whoisvalentine.py | 4 | 
8 files changed, 16 insertions, 16 deletions
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())  |