aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/pythonfacts.py
diff options
context:
space:
mode:
authorGravatar MrKomodoDragon <[email protected]>2021-02-16 10:39:16 -0800
committerGravatar GitHub <[email protected]>2021-02-16 10:39:16 -0800
commitb112226ca6ec9b49d25fe99aedb627b259e9b1ca (patch)
tree0a2378f8fe269522df29df1258fa954161aea0e5 /bot/exts/evergreen/pythonfacts.py
parentAdd .pyfacts command (diff)
Change `bot: Bot` to commands.Bot for consistency
Co-authored-by: ChrisJL <[email protected]>
Diffstat (limited to 'bot/exts/evergreen/pythonfacts.py')
-rw-r--r--bot/exts/evergreen/pythonfacts.py2
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'])