aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/connect_four.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
committerGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
commitaecc1e6f6f1df012add3ce394496b01e776bbfdf (patch)
tree174252cf5ee11ce043877c79507189a799d83a18 /bot/exts/evergreen/connect_four.py
parentUnion item with None to Optional with item. (diff)
Removed None return annotation for any __init__
Diffstat (limited to 'bot/exts/evergreen/connect_four.py')
-rw-r--r--bot/exts/evergreen/connect_four.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/connect_four.py b/bot/exts/evergreen/connect_four.py
index 0f83bf8a..d4d80154 100644
--- a/bot/exts/evergreen/connect_four.py
+++ b/bot/exts/evergreen/connect_four.py
@@ -181,7 +181,7 @@ class Game:
class AI:
"""The Computer Player for Single-Player games."""
- def __init__(self, bot: Bot, game: Game) -> None:
+ def __init__(self, bot: Bot, game: Game):
self.game = game
self.mention = bot.user.mention
@@ -256,7 +256,7 @@ class AI:
class ConnectFour(commands.Cog):
"""Connect Four. The Classic Vertical Four-in-a-row Game!"""
- def __init__(self, bot: Bot) -> None:
+ def __init__(self, bot: Bot):
self.bot = bot
self.games: list[Game] = []
self.waiting: list[discord.Member] = []