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;
namespace Geekbot.net.Commands
{
@ -14,7 +15,8 @@ namespace Geekbot.net.Commands
}
[Command("choose", RunMode = RunMode.Async)]
[Summary("Seperate options with a semicolon.")]
[Remarks(CommandCategories.Helpers)]
[Summary("Let the bot choose for you, seperate options with a semicolon.")]
public async Task Command([Remainder] [Summary("option1;option2")] string choices)
{
var choicesArray = choices.Split(';');