mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 14:18:29 +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
22
irc/TechBot/TechBot.Commands.Common/SvnCommand.cs
Normal file
22
irc/TechBot/TechBot.Commands.Common/SvnCommand.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
|
||||
using TechBot.Library;
|
||||
|
||||
namespace TechBot.Commands.Common
|
||||
{
|
||||
[Command("svn", Help = "!svn" , Description="Where the ROS SVN repository is located")]
|
||||
public class SvnCommand : Command
|
||||
{
|
||||
private string m_SvnRoot;
|
||||
|
||||
public SvnCommand()
|
||||
{
|
||||
m_SvnRoot = Settings.Default.SVNRoot;
|
||||
}
|
||||
|
||||
public override void ExecuteCommand()
|
||||
{
|
||||
Say("svn co {0}", m_SvnRoot);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue