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
fix IsTopLevel for ModuleInfo and CommandInfo
pull/2025/head
Cenk Ergen
3 years ago
parent
d6d7a61d71
commit
b3c2abae4a
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs
+1
-1
src/Discord.Net.Interactions/Info/ModuleInfo.cs
+ 1
- 1
src/Discord.Net.Interactions/Info/Commands/CommandInfo.cs
View File
@@ -237,7 +237,7 @@ namespace Discord.Interactions
while (currentParent != null)
{
if (currentParent.Is
TopLevel
Group)
if (currentParent.Is
Slash
Group)
return false;
currentParent = currentParent.Parent;
+ 1
- 1
src/Discord.Net.Interactions/Info/ModuleInfo.cs
View File
@@ -206,7 +206,7 @@ namespace Discord.Interactions
while (currentParent != null)
{
if (currentParent.Is
TopLevel
Group)
if (currentParent.Is
Slash
Group)
return false;
currentParent = currentParent.Parent;
Write
Preview
Loading…
Cancel
Save