aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/source.py')
-rw-r--r--bot/exts/evergreen/source.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/evergreen/source.py b/bot/exts/evergreen/source.py
index 45752bf9..3e6031a5 100644
--- a/bot/exts/evergreen/source.py
+++ b/bot/exts/evergreen/source.py
@@ -5,6 +5,7 @@ from typing import Optional, Tuple, Union
from discord import Embed
from discord.ext import commands
+from bot.bot import Bot
from bot.constants import Source
SourceType = Union[commands.Command, commands.Cog, str, commands.ExtensionNotLoaded]
@@ -31,7 +32,7 @@ class SourceConverter(commands.Converter):
class BotSource(commands.Cog):
"""Displays information about the bot's source code."""
- def __init__(self, bot: commands.Bot):
+ def __init__(self, bot: Bot):
self.bot = bot
@commands.command(name="source", aliases=("src",))
@@ -104,6 +105,6 @@ class BotSource(commands.Cog):
return embed
-def setup(bot: commands.Bot) -> None:
+def setup(bot: Bot) -> None:
"""Load the BotSource cog."""
bot.add_cog(BotSource(bot))