5 namespace TechBot.Commands.Common
7 public abstract class BugCommand : Command
9 // private string m_BugID = null;
15 public override bool AnswerInPublic
22 get { return Parameters; }
23 set { Parameters = value; }
26 public override void ExecuteCommand()
28 if (string.IsNullOrEmpty(BugID))
30 Say("Please provide a valid bug number.");
36 Say(BugUrl, Int32.Parse(BugID));
40 Say("{0} is not a valid bug number.", BugID);
45 protected abstract string BugUrl { get; }