summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/MiscCommands.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-07-17 21:18:59 +0200
committerTrueDoctor <d-kobert@web.de>2018-07-17 21:18:59 +0200
commit497a9eded3b785f7f96732c447943cc8bbad284b (patch)
tree87e40525b6d5173171597a0c8c288fd8d8e7f610 /DiscoBot/Commands/MiscCommands.cs
parent496c9c32cb8d0d067e675855289904a22b05d9ac (diff)
Added object oriented dice resolving
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r--DiscoBot/Commands/MiscCommands.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs
index aa3ea1b..4a91081 100644
--- a/DiscoBot/Commands/MiscCommands.cs
+++ b/DiscoBot/Commands/MiscCommands.cs
@@ -37,6 +37,12 @@ namespace DiscoBot.Commands
return this.ReplyAsync("```xl\n" + RandomMisc.Roll(roll) + "\n```");
}
+ [Command("rd"), Summary("Würfel Dennis ")]
+ public Task RollDennisAsync([Remainder, Summary("Weapon")] string roll)
+ {
+ return this.ReplyAsync("```xl\n" + new Auxiliary.Calculator.StringSolver(roll).Solve() + "\n```");
+ }
+
[Command("general"), Summary("Set General ")]
public Task SetGeneralAsync([Remainder, Summary("Set General")] int i = 0)
{