public async Task RequestCatalogueOrderAsync([Summary(OrderItemSummary)][Remainder] string request) { var cfg = Globals.Bot.Config; var items = DropUtil.GetItemsFromUserInput(request, cfg.DropConfig, true); await AttemptToQueueRequest(items, Context.User, Context.Channel, true).ConfigureAwait(false); }
public async Task RequestDropDIYAsync([Summary(DropDIYSummary)][Remainder] string recipeIDs) { if (Globals.Bot.CurrentUserId != Context.User.Id) { return; } var items = DropUtil.GetDIYsFromUserInput(recipeIDs); await DropItems(items).ConfigureAwait(false); }
public async Task RequestDropAsync([Summary(DropItemSummary)][Remainder] string request) { if (Globals.Bot.CurrentUserId != Context.User.Id) { return; } var cfg = Globals.Bot.Config; var items = DropUtil.GetItemsFromUserInput(request, cfg.DropConfig, false); MultiItem.StackToMax(items); await DropItems(items).ConfigureAwait(false); }