public override void Execute(Options options) { var commands = new ParameterPrinter().Print(string.Empty, typeof(Help).Assembly); foreach (var command in commands) { Out.WriteLine(command); } }
public override void Receive(Message message, Room room, Options options) { var commands = new ParameterPrinter().Print(string.Empty, typeof(Help).Assembly); var sb = new StringBuilder(); foreach (var command in commands) { sb.AppendLine(command); } HipChatService.Say(room, sb.ToString()); }