21 lines
583 B
C#
21 lines
583 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Linq;
|
|
using OpenMetaverse;
|
|
|
|
namespace BSB.Commands.Self
|
|
{
|
|
class BotVersion : CoreCommand_SmartReply_1arg
|
|
{
|
|
public override string Helpfile { get { return "Returns the bots build version"; } }
|
|
public override bool CallFunction(string[] args)
|
|
{
|
|
if (base.CallFunction(args) == true)
|
|
{
|
|
return bot.GetCommandsInterface.SmartCommandReply(args[0], bot.MyVersion, CommandName);
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
}
|