diff options
author | 2020-04-07 11:06:48 +0300 | |
---|---|---|
committer | 2020-04-07 11:06:48 +0300 | |
commit | b6dc1207fd63564bee9814ca46a955c1067fe5db (patch) | |
tree | 7c263b4f14c009606a8c1f139f95e7ceb124d1e0 | |
parent | (TicTacToe): Created initial empty cog with loading. (diff) |
(TicTacToe): Created `Player` class
-rw-r--r-- | bot/exts/evergreen/tic_tac_toe.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py index d4c95728..1927e021 100644 --- a/bot/exts/evergreen/tic_tac_toe.py +++ b/bot/exts/evergreen/tic_tac_toe.py @@ -1,8 +1,16 @@ +import discord from discord.ext.commands import Cog 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): + self.user = user + + class TicTacToe(Cog): """TicTacToe cog contains tic-tac-toe game commands.""" |