aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/battleship.py
diff options
context:
space:
mode:
authorGravatar Bradley Reynolds <[email protected]>2022-07-14 23:46:10 -0500
committerGravatar GitHub <[email protected]>2022-07-14 21:46:10 -0700
commitc812b61073a1c82d9d47064a82342df3b9ea31bf (patch)
tree6505a5ab6632e63ab1dfba1b8813b8235345874a /bot/exts/fun/battleship.py
parentBump lxml from 4.7.1 to 4.9.1 (#1068) (diff)
Fix incorrect type hints (#1073)
Diffstat (limited to '')
-rw-r--r--bot/exts/fun/battleship.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/battleship.py b/bot/exts/fun/battleship.py
index beff196f..77e38427 100644
--- a/bot/exts/fun/battleship.py
+++ b/bot/exts/fun/battleship.py
@@ -110,8 +110,8 @@ class Game:
self.gameover: bool = False
- self.turn: Optional[discord.Member] = None
- self.next: Optional[discord.Member] = None
+ self.turn: Optional[Player] = None
+ self.next: Optional[Player] = None
self.match: Optional[re.Match] = None
self.surrender: bool = False