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