Command Categories (more or less)
This commit is contained in:
parent
f30c136785
commit
58ba2980f9
29 changed files with 97 additions and 17 deletions
|
@ -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(';');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue