using System; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class CommandAttribute : Attribute { public string Text { get; } public RunMode RunMode { get; set; } = RunMode.Default; public bool? IgnoreExtraArgs { get; set; } public CommandAttribute() { Text = null; } public CommandAttribute(string text) { Text = text; } } }