예제 #1
0
 private static void AllCommands(ChatCallback Callback)
 {
     Callback.Send(XenoLang.AVAILABLE_COMMANDS.Get()
                   .Replace("%1", string.Join(", ", Commands.Keys)));
 }
예제 #2
0
 private static void NotFound(ChatCallback Callback, string CommandName)
 {
     Callback.Send(XenoLang.COMMAND_NOT_FOUND.Get()
                   .Replace("%1", CommandName));
 }
예제 #3
0
 public static void UsageError(this ICommand Command, ChatCallback Callback, string ErrorText)
 {
     Callback.Send(ErrorText);
     Help(Callback, Command.Name());
 }