mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
* refactor the code to make it more OOP and extensible
* remove old outdated SD project files * make it use some .NET 2.0 features as generic collections and settings svn path=/trunk/; revision=31130
This commit is contained in:
29
irc/TechBot/TechBot.Library/ReactOSBugUrl.cs
Normal file
29
irc/TechBot/TechBot.Library/ReactOSBugUrl.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace TechBot.Library
|
||||
{
|
||||
class ReactOSBugUrl : BugCommand
|
||||
{
|
||||
public ReactOSBugUrl(TechBotService techBot)
|
||||
: base(techBot)
|
||||
{
|
||||
}
|
||||
|
||||
public override string[] AvailableCommands
|
||||
{
|
||||
get { return new string[] { "rosbug" }; }
|
||||
}
|
||||
|
||||
protected override string BugUrl
|
||||
{
|
||||
get { return "http://www.reactos.org/bugzilla/show_bug.cgi?id={0}"; }
|
||||
}
|
||||
|
||||
public override string Help()
|
||||
{
|
||||
return "!rosbug <number>";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user