// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nTier not available.");
////
// return;
switch(fish.Rarity)//med
// }
{
// foreach (var f in fishinv)
caseFishRarity.Common:
// {
{
// int[] amounts;
value+=(int)fish.Tier*2*1;
// if (!fishinv.TryGetValue(f.Key, out amounts))
}
// {
break;
// amounts = new int[] { 0, 0, 0 };
caseFishRarity.Uncommon:
// fishinv.Add(f.Key, amounts);
{
// }
value+=(int)fish.Tier*2*3;
}
break;
// fish = fishes.FirstOrDefault(i => i.Id == f.Key);
caseFishRarity.Rare:
// if (fish.Rarity != FishRarity.Legendary)
{
// {
value+=(int)fish.Tier*2*6;
// count += f.Value[0] + f.Value[1] + f.Value[2];
}
break;
// switch (fish.Rarity) //small
}
// {
////
// case FishRarity.Common:
switch(fish.Rarity)//large
// {
{
// value += (int)fish.Tier * 1 * 1;
caseFishRarity.Common:
// }
{
// break;
value+=(int)fish.Tier*3*1;
// case FishRarity.Uncommon:
}
// {
break;
// value += (int)fish.Tier * 1 * 3;
caseFishRarity.Uncommon:
// }
{
// break;
value+=(int)fish.Tier*3*3;
// case FishRarity.Rare:
}
// {
break;
// value += (int)fish.Tier * 1 * 6;
caseFishRarity.Rare:
// }
{
// break;
value+=(int)fish.Tier*3*6;
// }
}
// ////
break;
// switch (fish.Rarity) //med
}
// {
// case FishRarity.Common:
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYou're about to sell **{count} Fish** for **{((long)value).ToYeedraDisplay()}**.\nType 'ok' to confirm.");
// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nYou're about to sell **{count} Fish** for **{((long)value).ToYeedraDisplay()}**.\nType 'ok' to confirm.");
// inp = await NextMessageAsync();
// if (inp.Content.ToLowerInvariant() == "ok")
// {
// fuser.SetInventory(fishinv);
// if (!user.GrantMoney(Database.Users.FirstOrDefault(x => x.Id == 0), value))
// {
// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nBank has no money, buy more bait.");
// return;
// }
// await Database.SaveChangesAsync();
// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nThanks, seaman, enjoy your moolah.");
[Command("remind"), Summary("Reminds you in a given time. (days, hours, minutes) Eg. 'remind 1 2 3 wash hands' would remind you in 1 day, 2 hours, 3 minutes to wash your hands")]
[Command("remind"), Summary("Reminds you in a given time. (days, hours, minutes) Eg. 'remind 1 2 3 wash hands' would remind you in 1 day, 2 hours, 3 minutes to wash your hands")]