mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
fix(minesweeper): dont time out game after user has won/lost
This commit is contained in:
@@ -137,6 +137,7 @@ class MsView(discord.ui.View):
|
||||
await asyncio.sleep(1)
|
||||
else:
|
||||
raise
|
||||
self.stop()
|
||||
|
||||
def GetBoardRow(self, pos):
|
||||
if pos in [0, 1, 2, 3, 4]:
|
||||
@@ -206,6 +207,7 @@ class MsView(discord.ui.View):
|
||||
await asyncio.sleep(1)
|
||||
else:
|
||||
raise
|
||||
self.stop()
|
||||
|
||||
def minesweeper_command():
|
||||
@commands.hybrid_command(
|
||||
|
||||
Reference in New Issue
Block a user