This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Add return statement to precondition handling (
#2062
)
pull/2149/head
Cenk Ergen
GitHub
3 years ago
parent
a13dce2550
commit
3e52fab67b
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/Discord.Net.Commands/CommandService.cs
+ 1
- 0
src/Discord.Net.Commands/CommandService.cs
View File
@@ -557,6 +557,7 @@ namespace Discord.Commands
if (matchResult.Pipeline is PreconditionResult preconditionResult)
{
await _commandExecutedEvent.InvokeAsync(matchResult.Match.Value.Command, context, preconditionResult).ConfigureAwait(false);
return preconditionResult;
}
return matchResult;
Write
Preview
Loading…
Cancel
Save