mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 23:58:29 +00:00
Implement "!bug <number>" command.
svn path=/trunk/; revision=20165
This commit is contained in:
parent
bd0b0b3d09
commit
27f6a74ba6
8 changed files with 89 additions and 6 deletions
|
@ -17,6 +17,7 @@ namespace TechBot.Library
|
|||
private string hresultXml;
|
||||
private string wmXml;
|
||||
private string svnCommand;
|
||||
private string bugUrl;
|
||||
private ArrayList commands = new ArrayList();
|
||||
|
||||
public TechBotService(IServiceOutput serviceOutput,
|
||||
|
@ -26,7 +27,8 @@ namespace TechBot.Library
|
|||
string winerrorXml,
|
||||
string hresultXml,
|
||||
string wmXml,
|
||||
string svnCommand)
|
||||
string svnCommand,
|
||||
string bugUrl)
|
||||
{
|
||||
this.serviceOutput = serviceOutput;
|
||||
this.chmPath = chmPath;
|
||||
|
@ -36,6 +38,7 @@ namespace TechBot.Library
|
|||
this.hresultXml = hresultXml;
|
||||
this.wmXml = wmXml;
|
||||
this.svnCommand = svnCommand;
|
||||
this.bugUrl = bugUrl;
|
||||
}
|
||||
|
||||
public void Run()
|
||||
|
@ -55,6 +58,8 @@ namespace TechBot.Library
|
|||
wmXml));
|
||||
commands.Add(new SvnCommand(serviceOutput,
|
||||
svnCommand));
|
||||
commands.Add(new BugCommand(serviceOutput,
|
||||
bugUrl));
|
||||
}
|
||||
|
||||
public void InjectMessage(MessageContext context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue