aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-07 11:49:33 +0300
committerGravatar ks129 <[email protected]>2020-04-07 11:49:33 +0300
commit3362619c919b2094994439efa0dc0564d82594f0 (patch)
tree5d9760960b8dada0c55ac873642ac3a094dc28a0
parent(TicTacToe): Added `ctx` variable to `Player` class. (diff)
(TicTacToe): Replaced `discord.User` with `Player` in `Game` class signature.
-rw-r--r--bot/exts/evergreen/tic_tac_toe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py
index 376cb3e9..2e21b43a 100644
--- a/bot/exts/evergreen/tic_tac_toe.py
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -17,7 +17,7 @@ class Player:
class Game:
"""Class that contains information and functions about Tic Tac Toe game."""
- def __init__(self, channel: discord.TextChannel, players: t.List[discord.User], ctx: Context):
+ def __init__(self, channel: discord.TextChannel, players: t.List[Player], ctx: Context):
self.channel = channel
self.players = players
self.ctx = ctx