Remove command categories

This commit is contained in:
runebaas 2018-05-13 15:55:57 +02:00
parent 3fa4115502
commit 37ac7f56a8
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
40 changed files with 1 additions and 87 deletions

View file

@ -30,7 +30,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("welcome", RunMode = RunMode.Async)] [Command("welcome", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Set a Welcome Message (use '$user' to mention the new joined user).")] [Summary("Set a Welcome Message (use '$user' to mention the new joined user).")]
public async Task SetWelcomeMessage([Remainder] [Summary("message")] string welcomeMessage) public async Task SetWelcomeMessage([Remainder] [Summary("message")] string welcomeMessage)
{ {
@ -40,7 +39,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("modchannel", RunMode = RunMode.Async)] [Command("modchannel", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Set a channel for moderation purposes")] [Summary("Set a channel for moderation purposes")]
public async Task SelectModChannel([Summary("#Channel")] ISocketMessageChannel channel) public async Task SelectModChannel([Summary("#Channel")] ISocketMessageChannel channel)
{ {
@ -61,7 +59,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("showleave", RunMode = RunMode.Async)] [Command("showleave", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Notify modchannel when someone leaves")] [Summary("Notify modchannel when someone leaves")]
public async Task ShowLeave([Summary("true/false")] bool enabled) public async Task ShowLeave([Summary("true/false")] bool enabled)
{ {
@ -88,7 +85,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("showdel", RunMode = RunMode.Async)] [Command("showdel", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Notify modchannel when someone deletes a message")] [Summary("Notify modchannel when someone deletes a message")]
public async Task ShowDelete([Summary("true/false")] bool enabled) public async Task ShowDelete([Summary("true/false")] bool enabled)
{ {
@ -117,7 +113,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("setlang", RunMode = RunMode.Async)] [Command("setlang", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Change the bots language")] [Summary("Change the bots language")]
public async Task SetLanguage([Summary("language")] string languageRaw) public async Task SetLanguage([Summary("language")] string languageRaw)
{ {
@ -142,7 +137,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("wiki", RunMode = RunMode.Async)] [Command("wiki", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Change the wikipedia instance (use lang code in xx.wikipedia.org)")] [Summary("Change the wikipedia instance (use lang code in xx.wikipedia.org)")]
public async Task SetWikiLanguage([Summary("language")] string languageRaw) public async Task SetWikiLanguage([Summary("language")] string languageRaw)
{ {
@ -160,7 +154,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("lang", RunMode = RunMode.Async)] [Command("lang", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Change the bots language")] [Summary("Change the bots language")]
public async Task GetLanguage() public async Task GetLanguage()
{ {
@ -176,7 +169,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("ping", RunMode = RunMode.Async)] [Command("ping", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Enable the ping reply.")] [Summary("Enable the ping reply.")]
public async Task TogglePing() public async Task TogglePing()
{ {

View file

@ -32,7 +32,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("namehistory", RunMode = RunMode.Async)] [Command("namehistory", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("See past usernames of an user")] [Summary("See past usernames of an user")]
public async Task UsernameHistory([Summary("@user")] IUser user) public async Task UsernameHistory([Summary("@user")] IUser user)
{ {
@ -52,7 +51,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("kick", RunMode = RunMode.Async)] [Command("kick", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Ban a user")] [Summary("Ban a user")]
public async Task Kick([Summary("@user")] IUser userNormal, public async Task Kick([Summary("@user")] IUser userNormal,
[Summary("reason")] [Remainder] string reason = "none") [Summary("reason")] [Remainder] string reason = "none")

View file

@ -52,7 +52,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("youtubekey", RunMode = RunMode.Async)] [Command("youtubekey", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Set the youtube api key")] [Summary("Set the youtube api key")]
public async Task SetYoutubeKey([Summary("API Key")] string key) public async Task SetYoutubeKey([Summary("API Key")] string key)
{ {
@ -61,7 +60,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("game", RunMode = RunMode.Async)] [Command("game", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Set the game that the bot is playing")] [Summary("Set the game that the bot is playing")]
public async Task SetGame([Remainder] [Summary("Game")] string key) public async Task SetGame([Remainder] [Summary("Game")] string key)
{ {
@ -72,7 +70,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("popuserrepo", RunMode = RunMode.Async)] [Command("popuserrepo", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Populate user cache")] [Summary("Populate user cache")]
public async Task PopUserRepoCommand() public async Task PopUserRepoCommand()
{ {
@ -104,7 +101,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command("error", RunMode = RunMode.Async)] [Command("error", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Throw an error un purpose")] [Summary("Throw an error un purpose")]
public void PurposefulError() public void PurposefulError()
{ {

View file

@ -27,7 +27,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command(RunMode = RunMode.Async)] [Command(RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get a list of all available roles.")] [Summary("Get a list of all available roles.")]
public async Task GetAllRoles() public async Task GetAllRoles()
{ {
@ -53,7 +52,6 @@ namespace Geekbot.net.Commands.Admin
} }
[Command(RunMode = RunMode.Async)] [Command(RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get a role by mentioning it.")] [Summary("Get a role by mentioning it.")]
public async Task GiveRole([Summary("roleNickname")] string roleNameRaw) public async Task GiveRole([Summary("roleNickname")] string roleNameRaw)
{ {
@ -97,7 +95,6 @@ namespace Geekbot.net.Commands.Admin
[RequireUserPermission(GuildPermission.ManageRoles)] [RequireUserPermission(GuildPermission.ManageRoles)]
[Command("add", RunMode = RunMode.Async)] [Command("add", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Add a role to the whitelist.")] [Summary("Add a role to the whitelist.")]
public async Task AddRole([Summary("@role")] IRole role, [Summary("alias")] string roleName) public async Task AddRole([Summary("@role")] IRole role, [Summary("alias")] string roleName)
{ {
@ -132,7 +129,6 @@ namespace Geekbot.net.Commands.Admin
[RequireUserPermission(GuildPermission.ManageRoles)] [RequireUserPermission(GuildPermission.ManageRoles)]
[Command("remove", RunMode = RunMode.Async)] [Command("remove", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Remove a role from the whitelist.")] [Summary("Remove a role from the whitelist.")]
public async Task RemoveRole([Summary("roleNickname")] string roleName) public async Task RemoveRole([Summary("roleNickname")] string roleName)
{ {
@ -156,7 +152,6 @@ namespace Geekbot.net.Commands.Admin
} }
[RequireUserPermission(GuildPermission.ManageRoles)] [RequireUserPermission(GuildPermission.ManageRoles)]
[Remarks(CommandCategories.Admin)]
[Summary("Give a role by clicking on an emoji")] [Summary("Give a role by clicking on an emoji")]
[Command("listen", RunMode = RunMode.Async)] [Command("listen", RunMode = RunMode.Async)]
public async Task AddListener([Summary("messageID")] string messageId, [Summary("Emoji")] string emoji, [Summary("@role")] IRole role) public async Task AddListener([Summary("messageID")] string messageId, [Summary("Emoji")] string emoji, [Summary("@role")] IRole role)

View file

@ -18,7 +18,6 @@ namespace Geekbot.net.Commands.Admin
[RequireUserPermission(GuildPermission.Administrator)] [RequireUserPermission(GuildPermission.Administrator)]
[Command("say", RunMode = RunMode.Async)] [Command("say", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Admin)]
[Summary("Say Something.")] [Summary("Say Something.")]
public async Task Echo([Remainder] [Summary("What?")] string echo) public async Task Echo([Remainder] [Summary("What?")] string echo)
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Games
} }
[Command("pokedex", RunMode = RunMode.Async)] [Command("pokedex", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("A Pokedex Tool")] [Summary("A Pokedex Tool")]
public async Task GetPokemon([Summary("pokemonName")] string pokemonName) public async Task GetPokemon([Summary("pokemonName")] string pokemonName)
{ {

View file

@ -22,7 +22,6 @@ namespace Geekbot.net.Commands.Games
} }
[Command("roll", RunMode = RunMode.Async)] [Command("roll", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Fun)]
[Summary("Guess which number the bot will roll (1-100")] [Summary("Guess which number the bot will roll (1-100")]
public async Task RollCommand([Remainder] [Summary("guess")] string stuff = "noGuess") public async Task RollCommand([Remainder] [Summary("guess")] string stuff = "noGuess")
{ {

View file

@ -23,7 +23,6 @@ namespace Geekbot.net.Commands.Integrations.Google
} }
[Command("google", RunMode = RunMode.Async)] [Command("google", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Google Something.")] [Summary("Google Something.")]
public async Task AskGoogle([Remainder, Summary("SearchText")] string searchText) public async Task AskGoogle([Remainder, Summary("SearchText")] string searchText)
{ {

View file

@ -23,7 +23,6 @@ namespace Geekbot.net.Commands.Integrations
} }
[Command("mtg", RunMode = RunMode.Async)] [Command("mtg", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Games)]
[Summary("Find a Magic The Gathering Card.")] [Summary("Find a Magic The Gathering Card.")]
public async Task GetCard([Remainder] [Summary("name")] string cardName) public async Task GetCard([Remainder] [Summary("name")] string cardName)
{ {

View file

@ -21,7 +21,6 @@ namespace Geekbot.net.Commands.Integrations
} }
[Command("anime", RunMode = RunMode.Async)] [Command("anime", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Show Info about an Anime.")] [Summary("Show Info about an Anime.")]
public async Task SearchAnime([Remainder] [Summary("AnimeName")] string animeName) public async Task SearchAnime([Remainder] [Summary("AnimeName")] string animeName)
{ {
@ -70,7 +69,6 @@ namespace Geekbot.net.Commands.Integrations
} }
[Command("manga", RunMode = RunMode.Async)] [Command("manga", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Show Info about a Manga.")] [Summary("Show Info about a Manga.")]
public async Task SearchManga([Remainder] [Summary("MangaName")] string mangaName) public async Task SearchManga([Remainder] [Summary("MangaName")] string mangaName)
{ {

View file

@ -20,7 +20,6 @@ namespace Geekbot.net.Commands.Integrations.UbranDictionary
} }
[Command("urban", RunMode = RunMode.Async)] [Command("urban", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Lookup something on urban dictionary")] [Summary("Lookup something on urban dictionary")]
public async Task UrbanDefine([Remainder] [Summary("word")] string word) public async Task UrbanDefine([Remainder] [Summary("word")] string word)
{ {

View file

@ -28,7 +28,6 @@ namespace Geekbot.net.Commands.Integrations
} }
[Command("wiki", RunMode = RunMode.Async)] [Command("wiki", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get an article from wikipedia.")] [Summary("Get an article from wikipedia.")]
public async Task GetPreview([Remainder] [Summary("Article")] string articleName) public async Task GetPreview([Remainder] [Summary("Article")] string articleName)
{ {

View file

@ -21,7 +21,6 @@ namespace Geekbot.net.Commands.Integrations
} }
[Command("yt", RunMode = RunMode.Async)] [Command("yt", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Search for something on youtube.")] [Summary("Search for something on youtube.")]
public async Task Yt([Remainder] [Summary("Title")] string searchQuery) public async Task Yt([Remainder] [Summary("Title")] string searchQuery)
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Randomness.Cat
} }
[Command("cat", RunMode = RunMode.Async)] [Command("cat", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Return a random image of a cat.")] [Summary("Return a random image of a cat.")]
public async Task Say() public async Task Say()
{ {

View file

@ -21,7 +21,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("checkem", RunMode = RunMode.Async)] [Command("checkem", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Check for dubs")] [Summary("Check for dubs")]
public async Task MuhDubs() public async Task MuhDubs()
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Randomness.Chuck
} }
[Command("chuck", RunMode = RunMode.Async)] [Command("chuck", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("A random chuck norris joke")] [Summary("A random chuck norris joke")]
public async Task Say() public async Task Say()
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Randomness.Dad
} }
[Command("dad", RunMode = RunMode.Async)] [Command("dad", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("A random dad joke")] [Summary("A random dad joke")]
public async Task Say() public async Task Say()
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Randomness.Dog
} }
[Command("dog", RunMode = RunMode.Async)] [Command("dog", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Return a random image of a dog.")] [Summary("Return a random image of a dog.")]
public async Task Say() public async Task Say()
{ {

View file

@ -17,7 +17,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("8ball", RunMode = RunMode.Async)] [Command("8ball", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Ask 8Ball a Question.")] [Summary("Ask 8Ball a Question.")]
public async Task Ball([Remainder] [Summary("Question")] string echo) public async Task Ball([Remainder] [Summary("Question")] string echo)
{ {

View file

@ -15,7 +15,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("fortune", RunMode = RunMode.Async)] [Command("fortune", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random fortune")] [Summary("Get a random fortune")]
public async Task GetAFortune() public async Task GetAFortune()
{ {

View file

@ -17,7 +17,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("gdq", RunMode = RunMode.Async)] [Command("gdq", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Games)]
[Summary("Get a quote from the GDQ donation generator.")] [Summary("Get a quote from the GDQ donation generator.")]
public async Task GetQuote() public async Task GetQuote()
{ {

View file

@ -16,7 +16,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("panda", RunMode = RunMode.Async)] [Command("panda", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random panda image")] [Summary("Get a random panda image")]
public async Task Panda() public async Task Panda()
{ {
@ -25,7 +24,6 @@ namespace Geekbot.net.Commands.Randomness
[Command("croissant", RunMode = RunMode.Async)] [Command("croissant", RunMode = RunMode.Async)]
[Alias("gipfeli")] [Alias("gipfeli")]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random croissant image")] [Summary("Get a random croissant image")]
public async Task Croissant() public async Task Croissant()
{ {
@ -33,7 +31,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("pumpkin", RunMode = RunMode.Async)] [Command("pumpkin", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random pumpkin image")] [Summary("Get a random pumpkin image")]
public async Task Pumpkin() public async Task Pumpkin()
{ {
@ -41,7 +38,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("squirrel", RunMode = RunMode.Async)] [Command("squirrel", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random squirrel image")] [Summary("Get a random squirrel image")]
public async Task Squirrel() public async Task Squirrel()
{ {
@ -49,7 +45,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("turtle", RunMode = RunMode.Async)] [Command("turtle", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random turtle image")] [Summary("Get a random turtle image")]
public async Task Turtle() public async Task Turtle()
{ {
@ -58,7 +53,6 @@ namespace Geekbot.net.Commands.Randomness
[Command("pinguin", RunMode = RunMode.Async)] [Command("pinguin", RunMode = RunMode.Async)]
[Alias("pingu")] [Alias("pingu")]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random pinguin image")] [Summary("Get a random pinguin image")]
public async Task Pinguin() public async Task Pinguin()
{ {
@ -66,7 +60,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("fox", RunMode = RunMode.Async)] [Command("fox", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Get a random fox image")] [Summary("Get a random fox image")]
public async Task Fox() public async Task Fox()
{ {

View file

@ -20,7 +20,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("Ship", RunMode = RunMode.Async)] [Command("Ship", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Fun)]
[Summary("Ask the Shipping meter")] [Summary("Ask the Shipping meter")]
public async Task Command([Summary("@User1")] IUser user1, [Summary("@User2")] IUser user2) public async Task Command([Summary("@User1")] IUser user1, [Summary("@User2")] IUser user2)
{ {

View file

@ -21,7 +21,6 @@ namespace Geekbot.net.Commands.Randomness
} }
[Command("slap", RunMode = RunMode.Async)] [Command("slap", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Fun)]
[Summary("slap someone")] [Summary("slap someone")]
public async Task Slapper([Summary("@user")] IUser user) public async Task Slapper([Summary("@user")] IUser user)
{ {

View file

@ -25,7 +25,6 @@ namespace Geekbot.net.Commands.User
} }
[Command("serverstats", RunMode = RunMode.Async)] [Command("serverstats", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Statistics)]
[Summary("Show some info about the bot.")] [Summary("Show some info about the bot.")]
public async Task GetInfo() public async Task GetInfo()
{ {

View file

@ -26,7 +26,6 @@ namespace Geekbot.net.Commands.User
} }
[Command("good", RunMode = RunMode.Async)] [Command("good", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Karma)]
[Summary("Increase Someones Karma")] [Summary("Increase Someones Karma")]
public async Task Good([Summary("@someone")] IUser user) public async Task Good([Summary("@someone")] IUser user)
{ {
@ -74,7 +73,6 @@ namespace Geekbot.net.Commands.User
} }
[Command("bad", RunMode = RunMode.Async)] [Command("bad", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Karma)]
[Summary("Decrease Someones Karma")] [Summary("Decrease Someones Karma")]
public async Task Bad([Summary("@someone")] IUser user) public async Task Bad([Summary("@someone")] IUser user)
{ {

View file

@ -36,7 +36,6 @@ namespace Geekbot.net.Commands.User.Ranking
} }
[Command("rank", RunMode = RunMode.Async)] [Command("rank", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Statistics)]
[Summary("get user top 10 in messages or karma")] [Summary("get user top 10 in messages or karma")]
public async Task RankCmd([Summary("type")] string typeUnformated = "messages", [Summary("amount")] int amount = 10) public async Task RankCmd([Summary("type")] string typeUnformated = "messages", [Summary("amount")] int amount = 10)
{ {

View file

@ -23,7 +23,6 @@ namespace Geekbot.net.Commands.User
} }
[Command("stats", RunMode = RunMode.Async)] [Command("stats", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Statistics)]
[Summary("Get information about this user")] [Summary("Get information about this user")]
public async Task User([Summary("@someone")] IUser user = null) public async Task User([Summary("@someone")] IUser user = null)
{ {

View file

@ -17,7 +17,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("avatar", RunMode = RunMode.Async)] [Command("avatar", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get someones avatar")] [Summary("Get someones avatar")]
public async Task GetAvatar([Remainder] [Summary("user")] IUser user = null) public async Task GetAvatar([Remainder] [Summary("user")] IUser user = null)
{ {

View file

@ -25,9 +25,7 @@ namespace Geekbot.net.Commands.Utils.Changelog
} }
[Command("changelog", RunMode = RunMode.Async)] [Command("changelog", RunMode = RunMode.Async)]
[Alias("updates")] [Summary("Show the latest 10 updates")]
[Remarks(CommandCategories.Helpers)]
[Summary("Show the latest 5 updates")]
public async Task GetChangelog() public async Task GetChangelog()
{ {
try try

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("choose", RunMode = RunMode.Async)] [Command("choose", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Let the bot choose for you, seperate options with a semicolon.")] [Summary("Let the bot choose for you, seperate options with a semicolon.")]
public async Task Command([Remainder] [Summary("option1;option2")] public async Task Command([Remainder] [Summary("option1;option2")]
string choices) string choices)

View file

@ -11,7 +11,6 @@ namespace Geekbot.net.Commands.Utils.Dice
public class Dice : ModuleBase public class Dice : ModuleBase
{ {
[Command("dice", RunMode = RunMode.Async)] [Command("dice", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Randomness)]
[Summary("Roll a dice.")] [Summary("Roll a dice.")]
public async Task RollCommand([Remainder] [Summary("diceType")] string diceType = "1d20") public async Task RollCommand([Remainder] [Summary("diceType")] string diceType = "1d20")
{ {

View file

@ -19,7 +19,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("emojify", RunMode = RunMode.Async)] [Command("emojify", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Emojify text")] [Summary("Emojify text")]
public async Task Dflt([Remainder] [Summary("text")] string text) public async Task Dflt([Remainder] [Summary("text")] string text)
{ {

View file

@ -18,7 +18,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("help", RunMode = RunMode.Async)] [Command("help", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("List all Commands")] [Summary("List all Commands")]
public async Task GetHelp() public async Task GetHelp()
{ {

View file

@ -27,7 +27,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("info", RunMode = RunMode.Async)] [Command("info", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get Information about the bot")] [Summary("Get Information about the bot")]
public async Task BotInfo() public async Task BotInfo()
{ {
@ -59,7 +58,6 @@ namespace Geekbot.net.Commands.Utils
} }
[Command("uptime", RunMode = RunMode.Async)] [Command("uptime", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Get the Bot Uptime")] [Summary("Get the Bot Uptime")]
public async Task BotUptime() public async Task BotUptime()
{ {

View file

@ -8,7 +8,6 @@ namespace Geekbot.net.Commands.Utils
{ {
[Command("👀", RunMode = RunMode.Async)] [Command("👀", RunMode = RunMode.Async)]
[Summary("Look at the bot.")] [Summary("Look at the bot.")]
[Remarks(CommandCategories.Fun)]
public async Task Eyes() public async Task Eyes()
{ {
await ReplyAsync("S... Stop looking at me... baka!"); await ReplyAsync("S... Stop looking at me... baka!");

View file

@ -32,7 +32,6 @@ namespace Geekbot.net.Commands.Utils.Poll
} }
[Command(RunMode = RunMode.Async)] [Command(RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Check status of the current poll")] [Summary("Check status of the current poll")]
public async Task Dflt() public async Task Dflt()
{ {
@ -55,7 +54,6 @@ namespace Geekbot.net.Commands.Utils.Poll
} }
[Command("create", RunMode = RunMode.Async)] [Command("create", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("Create a poll")] [Summary("Create a poll")]
public async Task Create([Remainder] [Summary("question;option1;option2")] public async Task Create([Remainder] [Summary("question;option1;option2")]
string rawPollString) string rawPollString)
@ -113,7 +111,6 @@ namespace Geekbot.net.Commands.Utils.Poll
} }
[Command("end", RunMode = RunMode.Async)] [Command("end", RunMode = RunMode.Async)]
[Remarks(CommandCategories.Helpers)]
[Summary("End the current poll")] [Summary("End the current poll")]
public async Task End() public async Task End()
{ {

View file

@ -26,7 +26,6 @@ namespace Geekbot.net.Commands.Utils.Quote
} }
[Command] [Command]
[Remarks(CommandCategories.Quotes)]
[Summary("Return a random quoute from the database")] [Summary("Return a random quoute from the database")]
public async Task GetRandomQuote() public async Task GetRandomQuote()
{ {
@ -53,7 +52,6 @@ namespace Geekbot.net.Commands.Utils.Quote
} }
[Command("save")] [Command("save")]
[Remarks(CommandCategories.Quotes)]
[Summary("Save a quote from the last sent message by @user")] [Summary("Save a quote from the last sent message by @user")]
public async Task SaveQuote([Summary("@user")] IUser user) public async Task SaveQuote([Summary("@user")] IUser user)
{ {
@ -89,7 +87,6 @@ namespace Geekbot.net.Commands.Utils.Quote
} }
[Command("save")] [Command("save")]
[Remarks(CommandCategories.Quotes)]
[Summary("Save a quote from a message id")] [Summary("Save a quote from a message id")]
public async Task SaveQuote([Summary("messageId")] ulong messageId) public async Task SaveQuote([Summary("messageId")] ulong messageId)
{ {
@ -123,7 +120,6 @@ namespace Geekbot.net.Commands.Utils.Quote
} }
[Command("make")] [Command("make")]
[Remarks(CommandCategories.Quotes)]
[Summary("Create a quote from the last sent message by @user")] [Summary("Create a quote from the last sent message by @user")]
public async Task ReturnSpecifiedQuote([Summary("@user")] IUser user) public async Task ReturnSpecifiedQuote([Summary("@user")] IUser user)
{ {
@ -143,7 +139,6 @@ namespace Geekbot.net.Commands.Utils.Quote
} }
[Command("make")] [Command("make")]
[Remarks(CommandCategories.Quotes)]
[Summary("Create a quote from a message id")] [Summary("Create a quote from a message id")]
public async Task ReturnSpecifiedQuote([Summary("messageId")] ulong messageId) public async Task ReturnSpecifiedQuote([Summary("messageId")] ulong messageId)
{ {
@ -165,7 +160,6 @@ namespace Geekbot.net.Commands.Utils.Quote
[RequireUserPermission(GuildPermission.KickMembers)] [RequireUserPermission(GuildPermission.KickMembers)]
[RequireUserPermission(GuildPermission.ManageMessages)] [RequireUserPermission(GuildPermission.ManageMessages)]
[RequireUserPermission(GuildPermission.ManageRoles)] [RequireUserPermission(GuildPermission.ManageRoles)]
[Remarks(CommandCategories.Quotes)]
[Summary("Remove a quote (required mod permissions)")] [Summary("Remove a quote (required mod permissions)")]
public async Task RemoveQuote([Summary("quoteId")] int id) public async Task RemoveQuote([Summary("quoteId")] int id)
{ {

View file

@ -1,15 +0,0 @@
namespace Geekbot.net.Lib
{
public static class CommandCategories
{
public const string Randomness = "Randomness";
public const string Karma = "Karma";
public const string Quotes = "Quotes";
public const string Fun = "Fun";
public const string Statistics = "Statistics";
public const string Helpers = "Helpers";
public const string Games = "Games";
public const string Admin = "Admin";
public const string Uncategorized = "Uncategorized";
}
}

View file

@ -28,7 +28,6 @@ namespace Geekbot.net.WebApi.Help
{ {
Name = cmd.Name, Name = cmd.Name,
Summary = cmd.Summary, Summary = cmd.Summary,
Category = cmd.Remarks ?? CommandCategories.Uncategorized,
IsAdminCommand = (param.Contains("admin")), IsAdminCommand = (param.Contains("admin")),
Aliases = cmd.Aliases.ToArray(), Aliases = cmd.Aliases.ToArray(),
Params = cmdParamsObj Params = cmdParamsObj