|
|
@ -37,7 +37,9 @@ namespace Kehyeedra3.Commands |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Command("ratetrap"), Summary("Rates your or another person's trap potential as a percentage")] |
|
|
|
[Command("ratetrap"), Summary("Rates your or another person's trap potential as a percentage")] |
|
|
|
public async Task RateTrap() |
|
|
|
public async Task RateTrap( string name = null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (name == null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Random rando = new Random(); |
|
|
|
Random rando = new Random(); |
|
|
|
Random rando1 = new Random(); |
|
|
|
Random rando1 = new Random(); |
|
|
@ -52,8 +54,7 @@ namespace Kehyeedra3.Commands |
|
|
|
await Context.Channel.SendMessageAsync($"I'd say right now you're {trapRating0}% passable"); |
|
|
|
await Context.Channel.SendMessageAsync($"I'd say right now you're {trapRating0}% passable"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
[Command("ratetrap"), Summary("Rates your or another person's trap potential as a percentage")] |
|
|
|
else |
|
|
|
public async Task RateOtherTrap([Remainder] string name) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
Random rando = new Random(); |
|
|
|
Random rando = new Random(); |
|
|
|
Random rando1 = new Random(); |
|
|
|
Random rando1 = new Random(); |
|
|
@ -68,6 +69,9 @@ namespace Kehyeedra3.Commands |
|
|
|
await Context.Channel.SendMessageAsync($"I'd say right now {name} is {trapRating0}% passable"); |
|
|
|
await Context.Channel.SendMessageAsync($"I'd say right now {name} is {trapRating0}% passable"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Command("ratertrap"), Summary("ratertrap")] |
|
|
|
[Command("ratertrap"), Summary("ratertrap")] |
|
|
|
public async Task RaterTrap() |
|
|
|
public async Task RaterTrap() |
|
|
|
{ |
|
|
|
{ |
|
|
|