SecondBot/Secondbot/Core/Commands/Movement/AutoPilotStop.cs
2021-02-14 01:21:35 +00:00

13 lines
339 B
C#

namespace BSB.Commands.Movement
{
public class AutoPilotStop : CoreCommand
{
public override string Helpfile { get { return "Stops any current AutoPilot"; } }
public override bool CallFunction(string[] args)
{
bot.GetClient.Self.AutoPilotCancel();
return true;
}
}
}