aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/minesweeper.py
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-03-14 13:30:27 +0000
committerGravatar Chris <[email protected]>2021-03-14 13:30:27 +0000
commit84930e02690051d3e05fdb3c489f25159b25bf03 (patch)
tree70dc3a91ef0060e6344b3bf19ebe0b7051ee9145 /bot/exts/evergreen/minesweeper.py
parentUse new help command ext (diff)
parentUse .gitattributes to normalise line endings on check-in (diff)
Merge remote-tracking branch 'origin/main' into Enforce-image-processing-concurrency
Diffstat (limited to 'bot/exts/evergreen/minesweeper.py')
-rw-r--r--bot/exts/evergreen/minesweeper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/minesweeper.py b/bot/exts/evergreen/minesweeper.py
index 286ac7a5..3031debc 100644
--- a/bot/exts/evergreen/minesweeper.py
+++ b/bot/exts/evergreen/minesweeper.py
@@ -8,6 +8,7 @@ from discord.ext import commands
from bot.constants import Client
from bot.utils.exceptions import UserNotPlayingError
+from bot.utils.extensions import invoke_help_command
MESSAGE_MAPPING = {
0: ":stop_button:",
@@ -83,7 +84,7 @@ class Minesweeper(commands.Cog):
@commands.group(name='minesweeper', aliases=('ms',), invoke_without_command=True)
async def minesweeper_group(self, ctx: commands.Context) -> None:
"""Commands for Playing Minesweeper."""
- await ctx.send_help(ctx.command)
+ await invoke_help_command(ctx)
@staticmethod
def get_neighbours(x: int, y: int) -> typing.Generator[typing.Tuple[int, int], None, None]: