From df4dfa3ed024d95dbe181683a207a34ee8bf4bd5 Mon Sep 17 00:00:00 2001 From: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com> Date: Tue, 20 Jul 2021 00:11:52 -0400 Subject: [PATCH] Minor doc fix --- docs/guides/slash-commands/04-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/slash-commands/04-parameters.md b/docs/guides/slash-commands/04-parameters.md index 334e0128f..ddac72203 100644 --- a/docs/guides/slash-commands/04-parameters.md +++ b/docs/guides/slash-commands/04-parameters.md @@ -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;