Browse Source

Minor doc fix

pull/1923/head
MrCakeSlayer GitHub 3 years ago
parent
commit
df4dfa3ed0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/slash-commands/04-parameters.md

+ 1
- 1
docs/guides/slash-commands/04-parameters.md View File

@@ -75,7 +75,7 @@ private async Task Client_InteractionCreated(SocketInteraction arg)
}
}

private async Task HandleListRoleCommand(SocketSlashCommandData command)
private async Task HandleListRoleCommand(SocketSlashCommand command)
{
// We need to extract the user parameter from the command. since we only have one option and it's required, we can just use the first option.
var guildUser = (SocketGuildUser)command.Data.Options.First().Value;


Loading…
Cancel
Save