Command Categories (more or less)

This commit is contained in:
Runebaas 2017-10-12 16:34:10 +02:00
parent f30c136785
commit 58ba2980f9
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
29 changed files with 97 additions and 17 deletions

View file

@ -1,6 +1,7 @@
using System;
using System.Threading.Tasks;
using Discord.Commands;
using Geekbot.net.Lib;
using StackExchange.Redis;
namespace Geekbot.net.Commands
@ -17,8 +18,9 @@ namespace Geekbot.net.Commands
}
[Command("roll", RunMode = RunMode.Async)]
[Summary("Roll a number between 1 and 100.")]
public async Task RollCommand([Remainder] [Summary("stuff...")] string stuff = "nothing")
[Remarks(CommandCategories.Fun)]
[Summary("Guess which number the bot will roll (1-100")]
public async Task RollCommand([Remainder] [Summary("guess")] string stuff = "noGuess")
{
var number = rnd.Next(1, 100);
var guess = 1000;