Browse Source

Merge branch 'release/3.x' of https://github.com/Discord-Net-Labs/Discord.Net-Labs into release/3.x

pull/1958/head
quin lynch 3 years ago
parent
commit
7d7a79d21a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/Discord.Net.Interactions/Info/Commands/SlashCommandInfo.cs

+ 3
- 0
src/Discord.Net.Interactions/Info/Commands/SlashCommandInfo.cs View File

@@ -81,7 +81,10 @@ namespace Discord.Interactions
var readResult = await typeConverter.ReadAsync(context, arg, services).ConfigureAwait(false);

if (!readResult.IsSuccess)
{
await InvokeModuleEvent(context, readResult).ConfigureAwait(false);
return readResult;
}

args[i] = readResult.Value;
}


Loading…
Cancel
Save