This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
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
Merge
45e58894f2
into
3fb661a33a
pull/515/merge
Tristan McPherson
GitHub
8 years ago
parent
3fb661a33a
45e58894f2
commit
a5d6162fe6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Commands/CommandService.cs
+ 1
- 1
src/Discord.Net.Commands/CommandService.cs
View File
@@ -264,7 +264,7 @@ namespace Discord.Commands
var preconditionResult = await commands[i].CheckPreconditionsAsync(context, services).ConfigureAwait(false);
if (!preconditionResult.IsSuccess)
{
if (
commands.Count
== 1)
if (
i
== 1)
return preconditionResult;
else
continue;
Write
Preview
Loading…
Cancel
Save