示例#1
0
        private async Task DoCraft(bool craft)
        {
            for (int i = 0; i < ItemCount; i++)
            {
                Inventory.TryCraft(SelectedItem.Value);
            }

            ConfirmOut = false;

            await Context.Channel.SendMessageAsync(BotUtils.KamtroText($"Successfully crafted {GetItemAtCursor().Name} * {ItemCount}"));
        }