diff options
author | 2021-10-11 14:17:38 +0100 | |
---|---|---|
committer | 2021-10-11 14:17:38 +0100 | |
commit | 462b83c8150bbc9121d87cf8ee0e61d850776fc6 (patch) | |
tree | 6b22ee98e9ccfe74b86581e46128d1536a816f80 | |
parent | Set `AI.user` to @Sir Lancebot (diff) |
Add missing `Game.channel` attribute
-rw-r--r-- | bot/exts/fun/tic_tac_toe.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/fun/tic_tac_toe.py b/bot/exts/fun/tic_tac_toe.py index 49620d02..1ebf8d11 100644 --- a/bot/exts/fun/tic_tac_toe.py +++ b/bot/exts/fun/tic_tac_toe.py @@ -108,6 +108,7 @@ class Game: def __init__(self, players: list[Union[Player, AI]], ctx: Context): self.players = players self.ctx = ctx + self.channel = ctx.channel self.board = { 1: Emojis.number_emojis[1], 2: Emojis.number_emojis[2], |