diff options
author | 2020-04-07 11:48:34 +0300 | |
---|---|---|
committer | 2020-04-07 11:48:34 +0300 | |
commit | 103ddfe12af937c50ece9bd651b5d4da8cb29079 (patch) | |
tree | b38f68de72b88aecc6121d779eb2aba0f93a6eb3 | |
parent | (TicTacToe): Created `Game` class (diff) |
(TicTacToe): Added `ctx` variable to `Player` class.
-rw-r--r-- | bot/exts/evergreen/tic_tac_toe.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py index 98d793ba..376cb3e9 100644 --- a/bot/exts/evergreen/tic_tac_toe.py +++ b/bot/exts/evergreen/tic_tac_toe.py @@ -9,8 +9,9 @@ from bot.bot import SeasonalBot class Player: """Class that contains information about player and functions that interact with player.""" - def __init__(self, user: discord.User): + def __init__(self, user: discord.User, ctx: Context): self.user = user + self.ctx = ctx class Game: |