Exemplo n.º 1
0
 public static void RegisterCommand(Extension extension, string name, AsyncCommandAction action) => RegisterCommand(extension.Namespace, name, action);
Exemplo n.º 2
0
 public static void RegisterCommand(string @namespace, string name, AsyncCommandAction action)
 {
     commandActions.Add(name.ToLower(), action); // IMPORTANT Add Namespace Detection
 }