public async void Load(string ID, bool LoadNearPlayer = false) { if (Context.Player == null) { Context.Respond("This is a player only command!"); return; } PlayerChecks User = new PlayerChecks(Context); await HangarCommandSystem.RunTaskAsync(() => User.LoadGrid(ID, LoadNearPlayer), Context); }
public async void Info(string ID = "") { if (Context.Player == null) { Context.Respond("This is a player only command!"); return; } PlayerChecks User = new PlayerChecks(Context); await HangarCommandSystem.RunTaskAsync(() => User.DetailedInfo(ID), Context); }
public async void SaveGrid() { if (Context.Player == null) { Context.Respond("This is a player only command!"); return; } PlayerChecks User = new PlayerChecks(Context); await HangarCommandSystem.RunTaskAsync(() => User.SaveGrid(), Context); }
public async void ListGrids() { PlayerChecks User = new PlayerChecks(Context); await HangarCommandSystem.RunTaskAsync(() => User.ListGrids(), Context); }