SecondBot/Secondbot/Core/RLV/Version/versionnum.cs
2021-02-14 01:21:35 +00:00

27 lines
658 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BSB.RLV.Version
{
public class VersionNum : RLV_command
{
public override bool CallFunction(string[] args)
{
int channel = 0;
if (args.Length == 1)
{
_ = int.TryParse(args[0], out channel);
}
if (channel >= 0)
{
bot.GetClient.Self.Chat("209000", channel, OpenMetaverse.ChatType.Normal);
return true;
}
else
{
return Failed("Invaild channel given");
}
}
}
}