Skip to content

Commit 5eae1fd

Browse files
Add explicit command name
Signed-off-by: Matt Norton <matt@carrotmanmatt.com>
1 parent 3db98e3 commit 5eae1fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cogs/ping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class PingCommandCog(TeXBotBaseCog):
2020
"""Cog class that defines the "/ping" command and its call-back method."""
2121

22-
@discord.slash_command(description="Replies with Pong!") # type: ignore[no-untyped-call, misc]
22+
@discord.slash_command(name="ping", description="Replies with Pong!") # type: ignore[no-untyped-call, misc]
2323
async def ping(self, ctx: "TeXBotApplicationContext") -> None: # type: ignore[misc]
2424
"""Definition & callback response of the "ping" command."""
2525
await ctx.respond(

0 commit comments

Comments
 (0)