Browse Source

Amendments

pull/1161/head
Casino Boyale 7 years ago
parent
commit
a63d46908c
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/Discord.Net.Commands/Attributes/RemarksAttribute.cs
  2. +1
    -1
      src/Discord.Net.Commands/Attributes/SummaryAttribute.cs
  3. +2
    -2
      src/Discord.Net.Commands/ModuleBase.cs

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

@@ -4,7 +4,7 @@ namespace Discord.Commands
{ {
// Extension of the Cosmetic Summary, for Groups, Commands, and Parameters // Extension of the Cosmetic Summary, for Groups, Commands, and Parameters
/// <summary> /// <summary>
/// An attribute that allows you to attach remarks to your command.
/// Attaches remarks to your commands.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false, Inherited = true)] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class RemarksAttribute : Attribute public class RemarksAttribute : Attribute


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

@@ -4,7 +4,7 @@ namespace Discord.Commands
{ {
// Cosmetic Summary, for Groups and Commands // Cosmetic Summary, for Groups and Commands
/// <summary> /// <summary>
/// An attribute that allows you to attach a summary to your command.
/// Attaches a summary to your command.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class SummaryAttribute : Attribute public class SummaryAttribute : Attribute


+ 2
- 2
src/Discord.Net.Commands/ModuleBase.cs View File

@@ -5,12 +5,12 @@ using Discord.Commands.Builders;
namespace Discord.Commands namespace Discord.Commands
{ {
/// <summary> /// <summary>
/// The base class that command modules inherit from where the context is of type <see cref="ICommandContext"/>.
/// Provides a base class for a command module to inherit from.
/// </summary> /// </summary>
public abstract class ModuleBase : ModuleBase<ICommandContext> { } public abstract class ModuleBase : ModuleBase<ICommandContext> { }


/// <summary> /// <summary>
/// The base class that command modules inherit from.
/// Provides a base class for a command module to inherit from.
/// </summary> /// </summary>
/// <typeparam name="T">A class that implements <see cref="ICommandContext"/>.</typeparam> /// <typeparam name="T">A class that implements <see cref="ICommandContext"/>.</typeparam>
public abstract class ModuleBase<T> : IModuleBase public abstract class ModuleBase<T> : IModuleBase


Loading…
Cancel
Save