Browse Source

Fixed a grammar mistake.

Added a paragraph explaining the use case for outer group submodules.
pull/1399/head
LtLi0n 5 years ago
parent
commit
b693af5a0d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Discord.Net.Commands/Attributes/GroupAttribute.cs

+ 2
- 1
src/Discord.Net.Commands/Attributes/GroupAttribute.cs View File

@@ -14,7 +14,8 @@ namespace Discord.Commands
public string Prefix { get; }

/// <summary>
/// Uses this module as parent instead. Allows creation of group modules outside of parent class.
/// Uses this module as the parent.
/// <para>Useful when group modules are large and nesting them within the parent class becomes difficult to maintain.</para>
/// </summary>
public Type ParentModule { get; set; }



Loading…
Cancel
Save