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
Added ParentModule Type to reference other module as parent.
pull/1399/head
LtLi0n
5 years ago
parent
0bda8a4217
commit
f98f800fec
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/Discord.Net.Commands/Attributes/GroupAttribute.cs
+ 5
- 0
src/Discord.Net.Commands/Attributes/GroupAttribute.cs
View File
@@ -13,6 +13,11 @@ namespace Discord.Commands
/// </summary>
public string Prefix { get; }
/// <summary>
/// Uses this module as parent instead. Allows creation of group modules outside of parent class.
/// </summary>
public Type ParentModule { get; set; }
/// <inheritdoc />
public GroupAttribute()
{
Write
Preview
Loading…
Cancel
Save