Making your own commands
Introduction
Creating
public override bool Active { get; } = true;
public override string CommandName { get; } = "example command";
public override string Description { get; } = "description for help";
public override string Help { get; } = "This is a detailed description for help";
public override string[] Aliases { get; } = new string[] { "alias1", "alias2" };Writing your own command
public override void Run(List<string> args)
{
//Example command
if(!CheckForArgumentCount(args, 0)) return;
Log("Hello world!", "default");
}Logging
Last updated