[Command("help", Help = "!help or !help -name:[CommandName]", Description = "Shows this help , type 'help -name:[CommandName]'")]
public class HelpCommand : Command
{
- private string m_CommandName = null;
-
public HelpCommand()
{
}
public override void ExecuteCommand()
{
- if (CommandName == null)
+ if (string.IsNullOrEmpty(CommandName))
{
Say("I support the following commands:");