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