aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Izan <[email protected]>2021-10-11 14:17:38 +0100
committerGravatar Izan <[email protected]>2021-10-11 14:17:38 +0100
commit462b83c8150bbc9121d87cf8ee0e61d850776fc6 (patch)
tree6b22ee98e9ccfe74b86581e46128d1536a816f80
parentSet `AI.user` to @Sir Lancebot (diff)
Add missing `Game.channel` attribute
-rw-r--r--bot/exts/fun/tic_tac_toe.py1
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],