mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 04:28:30 +00:00
- miscellaneous small fixes
- add support for preventing all commands to be run on the channel by default. Now TechBot only answers some of the commands in PM - add back the error Command svn path=/trunk/; revision=34079
This commit is contained in:
parent
b7525df85d
commit
a46601a21c
8 changed files with 63 additions and 578 deletions
|
@ -16,11 +16,10 @@ namespace TechBot.Commands.MSDN
|
|||
private bool IsVerbose = false;
|
||||
|
||||
private HtmlHelpSystem chm;
|
||||
private string name;
|
||||
|
||||
public ApiCommand()
|
||||
{
|
||||
Run();
|
||||
LoadCHM();
|
||||
}
|
||||
|
||||
[CommandParameter("api", "The API name")]
|
||||
|
@ -36,7 +35,7 @@ namespace TechBot.Commands.MSDN
|
|||
Say(message);
|
||||
}
|
||||
|
||||
private void Run()
|
||||
private void LoadCHM()
|
||||
{
|
||||
string CHMFilename = Path.Combine(Settings.Default.ChmPath, Settings.Default.MainChm);
|
||||
chm = new HtmlHelpSystem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue