SecondBot/Core/Commands/Info/ParcelName.cs
Madpeter 0b636fc648 Moves GetParcelName into the info namespace
Renames the command to ParcelName
2020-05-07 08:27:34 +01:00

16 lines
547 B
C#

namespace BSB.Commands.Info
{
public class ParcelName : ParcelCommand_CheckParcel_1arg_smart
{
public override string Helpfile { get { return "Fetchs the current parcels name and sends it to the smart reply target on [ARG 1]"; } }
public override bool CallFunction(string[] args)
{
if (base.CallFunction(args) == true)
{
return bot.GetCommandsInterface.SmartCommandReply(args[0], targetparcel.Name, CommandName);
}
return false;
}
}
}