Browse Source

update subcommad group's name

pull/2246/head
Misha133 3 years ago
parent
commit
0745ea5e1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/int_framework/samples/intro/groupmodule.cs

+ 1
- 1
docs/guides/int_framework/samples/intro/groupmodule.cs View File

@@ -5,7 +5,7 @@ public class CommandGroupModule : InteractionModuleBase<SocketInteractionContext
public async Task PongSubcommand()
=> await RespondAsync("Pong!");

[Group("subcommand-group", "Subcommand group description")]
[Group("subcommand-group-name", "Subcommand group description")]
public class SubcommandGroupModule : InteractionModuleBase<SocketInteractionContext>
{
[SlashCommand("echo", "Echo an input")]


Loading…
Cancel
Save