© 2026 Hedgehog Software, LLC
Context
module.ModuleInteractionBase = (InteractionBase)Activator.CreateInstance(moduleType);
public class Commands : InteractionBase { [Command("ping", "Simple Ping Command")] [EnabledInDms(false)] [PermissionGroup(PermissionGroup.PermissionGroups.Agent)] public async Task HandleCommand(string arg1, string[] arg2 = null) { await Console.Out.WriteLineAsync(Context.InteractionName); } }