diff options
author | 2021-04-19 20:20:48 +0100 | |
---|---|---|
committer | 2021-04-19 20:20:48 +0100 | |
commit | 1ed857d9093481387720ac1dc4041a64a2c9c593 (patch) | |
tree | 909724207ba5493db3f0871a74efa1198d34fc59 /bot/exts/evergreen/conversationstarters.py | |
parent | Merge pull request #673 from janine9vn/int-eval (diff) |
chore: switch commands.Bot typehints to bot.bot's Bot
Diffstat (limited to 'bot/exts/evergreen/conversationstarters.py')
-rw-r--r-- | bot/exts/evergreen/conversationstarters.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/evergreen/conversationstarters.py b/bot/exts/evergreen/conversationstarters.py index e7058961..aed76bcf 100644 --- a/bot/exts/evergreen/conversationstarters.py +++ b/bot/exts/evergreen/conversationstarters.py @@ -4,6 +4,7 @@ import yaml from discord import Color, Embed from discord.ext import commands +from bot.bot import Bot from bot.constants import WHITELISTED_CHANNELS from bot.utils.decorators import whitelist_override from bot.utils.randomization import RandomCycle @@ -34,7 +35,7 @@ TOPICS = { class ConvoStarters(commands.Cog): """Evergreen conversation topics.""" - def __init__(self, bot: commands.Bot): + def __init__(self, bot: Bot): self.bot = bot @commands.command() @@ -66,6 +67,6 @@ class ConvoStarters(commands.Cog): await ctx.send(embed=embed) -def setup(bot: commands.Bot) -> None: +def setup(bot: Bot) -> None: """Conversation starters Cog load.""" bot.add_cog(ConvoStarters(bot)) |