awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\narrrrr-right, ye scurby bastard, I know yer eager t' scour the seven seas but ye needs t' wait till the next minute t' pillage the booty'o'the depths, savvy?");
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\narrrrr-right, ye scurby bastard, I know yer eager t' scour the seven seas but ye needs t' wait till the next minute t' pillage the booty'o'the depths, savvy?");
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nTier not available.");
// {
return;
// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nTier not available.");
}
// return;
foreach(varfinfishinv)
// }
{
// foreach (var f in fishinv)
int[]amounts;
// {
if(!fishinv.TryGetValue(f.Key,outamounts))
// int[] amounts;
{
// if (!fishinv.TryGetValue(f.Key, out amounts))
amounts=newint[]{0,0,0};
// {
fishinv.Add(f.Key,amounts);
// amounts = new int[] { 0, 0, 0 };
}
// fishinv.Add(f.Key, amounts);
// }
fish=fishes.FirstOrDefault(i=>i.Id==f.Key);
if(fish.Rarity!=FishRarity.Legendary)
// fish = fishes.FirstOrDefault(i => i.Id == f.Key);
{
// if (fish.Rarity != FishRarity.Legendary)
count+=f.Value[0]+f.Value[1]+f.Value[2];
// {
// count += f.Value[0] + f.Value[1] + f.Value[2];
switch(fish.Rarity)//small
{
// switch (fish.Rarity) //small
caseFishRarity.Common:
// {
{
// case FishRarity.Common:
value+=(int)fish.Tier*1*1;
// {
}
// value += (int)fish.Tier * 1 * 1;
break;
// }
caseFishRarity.Uncommon:
// break;
{
// case FishRarity.Uncommon:
value+=(int)fish.Tier*1*3;
// {
}
// value += (int)fish.Tier * 1 * 3;
break;
// }
caseFishRarity.Rare:
// break;
{
// case FishRarity.Rare:
value+=(int)fish.Tier*1*6;
// {
}
// value += (int)fish.Tier * 1 * 6;
break;
// }
}
// break;
////
// }
switch(fish.Rarity)//med
// ////
{
// switch (fish.Rarity) //med
caseFishRarity.Common:
// {
{
// case FishRarity.Common:
value+=(int)fish.Tier*2*1;
// {
}
// value += (int)fish.Tier * 2 * 1;
break;
// }
caseFishRarity.Uncommon:
// break;
{
// case FishRarity.Uncommon:
value+=(int)fish.Tier*2*3;
// {
}
// value += (int)fish.Tier * 2 * 3;
break;
// }
caseFishRarity.Rare:
// break;
{
// case FishRarity.Rare:
value+=(int)fish.Tier*2*6;
// {
}
// value += (int)fish.Tier * 2 * 6;
break;
// }
}
// break;
////
// }
switch(fish.Rarity)//large
// ////
{
// switch (fish.Rarity) //large
caseFishRarity.Common:
// {
{
// case FishRarity.Common:
value+=(int)fish.Tier*3*1;
// {
}
// value += (int)fish.Tier * 3 * 1;
break;
// }
caseFishRarity.Uncommon:
// break;
{
// case FishRarity.Uncommon:
value+=(int)fish.Tier*3*3;
// {
}
// value += (int)fish.Tier * 3 * 3;
break;
// }
caseFishRarity.Rare:
// break;
{
// case FishRarity.Rare:
value+=(int)fish.Tier*3*6;
// {
}
// value += (int)fish.Tier * 3 * 6;
break;
// }
}
// break;
// }
awaitContext.Channel.SendMessageAsync($"{Context.User.Mention}\nYou're about to sell **{count} Fish** for **{((long)value).ToYeedraDisplay()}**.\nType 'ok' to confirm.");
inp=awaitNextMessageAsync();
// await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nYou're about to sell **{count} Fish** for **{((long)value).ToYeedraDisplay()}**.\nType 'ok' to confirm.");
[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")]