We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db98e3 commit 5eae1fdCopy full SHA for 5eae1fd
1 file changed
cogs/ping.py
@@ -19,7 +19,7 @@
19
class PingCommandCog(TeXBotBaseCog):
20
"""Cog class that defines the "/ping" command and its call-back method."""
21
22
- @discord.slash_command(description="Replies with Pong!") # type: ignore[no-untyped-call, misc]
+ @discord.slash_command(name="ping", description="Replies with Pong!") # type: ignore[no-untyped-call, misc]
23
async def ping(self, ctx: "TeXBotApplicationContext") -> None: # type: ignore[misc]
24
"""Definition & callback response of the "ping" command."""
25
await ctx.respond(
0 commit comments