aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-09 13:28:11 +0300
committerGravatar ks129 <[email protected]>2020-04-09 13:28:11 +0300
commit7c930b7bc003fecd42aef58384d33708aa1d4bfa (patch)
tree69e4d1f964fb5dc97a671ca4797855f12160ce91 /bot/exts
parent(TicTacToe): Added `symbol` to player class creation in `tictactoe` command. (diff)
(TicTacToe): Removed unnecessary variable creation in `Game.send_board`.
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/evergreen/tic_tac_toe.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py
index 1873216d..ea503e83 100644
--- a/bot/exts/evergreen/tic_tac_toe.py
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -89,8 +89,7 @@ class Game:
for line in self.board:
msg += " ".join(line)
msg += "\n"
- message = await self.ctx.send(msg)
- return message
+ return await self.ctx.send(msg)
def is_channel_free() -> t.Callable: