SecondBot/Core/Commands/Self/botVersion.cs
2020-04-29 20:23:52 +01:00

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;
}
}
}