public class MyModule : ModuleBase { [Command("eat")] public async Task ChooseAsync(string food) { if (food == "salad") return MyCustomResult.FromError("No, I don't want that!"); return MyCustomResult.FromSuccess($"Give me the {food}!"). } }