private void CreateIngameIrcCommands()
{
IngameCommands = new IngameIrcCommand[]
{
new IngameIrcCommand()
{
Prefix = "help",
ExactMatch = true,
CommandHandler = IngameCommand_Help,
HelpText = "Lists information about available commands."
},
new IngameIrcCommand()
{
Prefix = "who",
ExactMatch = false,
CommandHandler = IngameCommand_Who,
HelpText = "Lists users in a channel."
},
new IngameIrcCommand()
{
Prefix = "channels",
ExactMatch = true,
CommandHandler = IngameCommand_Channels,
HelpText = "List available channels."
},
new IngameIrcCommand()
{
Prefix = "srd",
ExactMatch = false,
CommandHandler = IngameCommand_Srd,
HelpText = "Searches the hypertext D20 SRD."
},
new IngameIrcCommand()
{
Prefix = "search",
ExactMatch = false,
CommandHandler = IngameCommand_Search,
HelpText = "Searches the web."
}
};
}