Browse Source

add missing $ on docs

Co-Authored-By: Liege72 <65319395+Liege72@users.noreply.github.com>
pull/1958/head
quin lynch 3 years ago
parent
commit
5ee55c6c2e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/interactions_framework/post_execution.md

+ 1
- 1
docs/guides/interactions_framework/post_execution.md View File

@@ -48,7 +48,7 @@ async Task SlashCommandExecuted (SlashCommandInfo arg1, Discord.IInteractionCont
await arg2.Interaction.RespondAsync("Invalid number or arguments");
break;
case InteractionCommandError.Exception:
await arg2.Interaction.RespondAsync("Command exception:{arg3.ErrorReason}");
await arg2.Interaction.RespondAsync($"Command exception:{arg3.ErrorReason}");
break;
case InteractionCommandError.Unsuccessful:
await arg2.Interaction.RespondAsync("Command could not be executed");


Loading…
Cancel
Save