diff options
author | 2021-02-16 10:39:16 -0800 | |
---|---|---|
committer | 2021-02-16 10:39:16 -0800 | |
commit | b112226ca6ec9b49d25fe99aedb627b259e9b1ca (patch) | |
tree | 0a2378f8fe269522df29df1258fa954161aea0e5 /bot/exts | |
parent | Add .pyfacts command (diff) |
Change `bot: Bot` to commands.Bot for consistency
Co-authored-by: ChrisJL <[email protected]>
Diffstat (limited to 'bot/exts')
-rw-r--r-- | bot/exts/evergreen/pythonfacts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/pythonfacts.py b/bot/exts/evergreen/pythonfacts.py index ba792561..58d45b1c 100644 --- a/bot/exts/evergreen/pythonfacts.py +++ b/bot/exts/evergreen/pythonfacts.py @@ -8,7 +8,7 @@ from discord.ext.commands.bot import Bot class PythonFacts(commands.Cog): """Gives a random fun fact about Python.""" - def __init__(self, bot: Bot) -> None: + def __init__(self, bot: commands.Bot) -> None: self.bot = bot @commands.command(name='pythonfact', aliases=['pyfact']) |