mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 23:01:21 +00:00
- Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Commands.MSDN except for Command base classes
- Made TechBot more configurable through .config files - Code refactoring - Removed automatic parameter parsing support to make everyone happy svn path=/trunk/; revision=33586
This commit is contained in:
parent
6d51a10a1b
commit
ac77d9d3a6
47 changed files with 1783 additions and 489 deletions
irc/TechBot/TechBot.Library
|
@ -14,6 +14,7 @@ namespace TechBot.Library
|
|||
{
|
||||
if (context is ChannelMessageContext)
|
||||
{
|
||||
Thread.Sleep (500);
|
||||
ChannelMessageContext channelContext = context as ChannelMessageContext;
|
||||
channelContext.Channel.Talk(message);
|
||||
}
|
||||
|
@ -37,8 +38,6 @@ namespace TechBot.Library
|
|||
private string channelnames;
|
||||
private string botname;
|
||||
private string password;
|
||||
private string chmPath;
|
||||
private string mainChm;
|
||||
private IrcClient m_IrcClient;
|
||||
private ArrayList channels = new ArrayList();
|
||||
private bool isStopped = false;
|
||||
|
@ -47,10 +46,8 @@ namespace TechBot.Library
|
|||
int port,
|
||||
string channelnames,
|
||||
string botname,
|
||||
string password,
|
||||
string chmPath,
|
||||
string mainChm)
|
||||
: base (new IrcServiceOutput() , chmPath , mainChm)
|
||||
string password)
|
||||
: base (new IrcServiceOutput())
|
||||
{
|
||||
this.hostname = hostname;
|
||||
this.port = port;
|
||||
|
@ -60,8 +57,6 @@ namespace TechBot.Library
|
|||
this.password = null;
|
||||
else
|
||||
this.password = password;
|
||||
this.chmPath = chmPath;
|
||||
this.mainChm = mainChm;
|
||||
}
|
||||
|
||||
public override void Run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue