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);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
var replyBuilder = new StringBuilder();
|
||||
|
||||
if (amount > 20)
|
||||
|
@ -113,6 +112,9 @@ namespace Geekbot.net.Commands
|
|||
case "Karma":
|
||||
replyBuilder.Append($" - {user.Value} Karma");
|
||||
break;
|
||||
case "Rolls":
|
||||
replyBuilder.Append($" - {user.Value} Guessed");
|
||||
break;
|
||||
}
|
||||
|
||||
replyBuilder.Append("\n");
|
||||
|
|
Loading…
Reference in a new issue