mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
Support multiple channels
svn path=/trunk/; revision=13604
This commit is contained in:
@@ -21,12 +21,17 @@ namespace TechBot.Library
|
||||
new string[] { "help" });
|
||||
}
|
||||
|
||||
public void Handle(string commandName,
|
||||
public void Handle(MessageContext context,
|
||||
string commandName,
|
||||
string parameters)
|
||||
{
|
||||
serviceOutput.WriteLine("I support the following commands:");
|
||||
serviceOutput.WriteLine(context,
|
||||
"I support the following commands:");
|
||||
foreach (ICommand command in commands)
|
||||
serviceOutput.WriteLine(command.Help());
|
||||
{
|
||||
serviceOutput.WriteLine(context,
|
||||
command.Help());
|
||||
}
|
||||
}
|
||||
|
||||
public string Help()
|
||||
|
||||
Reference in New Issue
Block a user