Add Rolls to !rank
This commit is contained in:
parent
cb9c7c97dc
commit
08b36c1850
1 changed files with 5 additions and 3 deletions
|
@ -37,13 +37,12 @@ namespace Geekbot.net.Commands
|
||||||
{
|
{
|
||||||
var type = typeUnformated.ToCharArray().First().ToString().ToUpper() + typeUnformated.Substring(1);
|
var type = typeUnformated.ToCharArray().First().ToString().ToUpper() + typeUnformated.Substring(1);
|
||||||
|
|
||||||
if (!type.Equals("Messages") && !type.Equals("Karma"))
|
if (!type.Equals("Messages") && !type.Equals("Karma") && !type.Equals("Rolls"))
|
||||||
{
|
{
|
||||||
await ReplyAsync("Valid types are '`messages`' and '`karma`'");
|
await ReplyAsync("Valid types are '`messages`' '`karma`', '`rolls`'");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var replyBuilder = new StringBuilder();
|
var replyBuilder = new StringBuilder();
|
||||||
|
|
||||||
if (amount > 20)
|
if (amount > 20)
|
||||||
|
@ -113,6 +112,9 @@ namespace Geekbot.net.Commands
|
||||||
case "Karma":
|
case "Karma":
|
||||||
replyBuilder.Append($" - {user.Value} Karma");
|
replyBuilder.Append($" - {user.Value} Karma");
|
||||||
break;
|
break;
|
||||||
|
case "Rolls":
|
||||||
|
replyBuilder.Append($" - {user.Value} Guessed");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
replyBuilder.Append("\n");
|
replyBuilder.Append("\n");
|
||||||
|
|
Loading…
Reference in a new issue