diff --git a/BetterSecondbot/HttpService/Chat.cs b/BetterSecondbot/HttpService/Chat.cs index 7fe9435..fe7f7a0 100644 --- a/BetterSecondbot/HttpService/Chat.cs +++ b/BetterSecondbot/HttpService/Chat.cs @@ -28,7 +28,7 @@ namespace BetterSecondBot.HttpService } [About("sends a message to localchat")] - [ArgHints("message","Text", "the message to send")] + [ArgHints("message", "URLARG", "the message to send")] [ReturnHints("array string")] [Route(HttpVerbs.Post, "/localchatsay/{token}")] public object localchatSay(string token, [FormField] string message) diff --git a/BetterSecondbot/HttpService/Estate.cs b/BetterSecondbot/HttpService/Estate.cs index 240bc46..2ca799b 100644 --- a/BetterSecondbot/HttpService/Estate.cs +++ b/BetterSecondbot/HttpService/Estate.cs @@ -35,9 +35,9 @@ namespace BetterSecondBot.HttpService [ReturnHints("Unable to find avatar UUID")] [ReturnHints("Unable to process global value please use true or false")] [ReturnHints("Not an estate manager on region {REGIONNAME}")] - [ArgHints("avatar", "uuid", "the avatar you wish to ban")] - [ArgHints("mode", "add|remove", "What action would you like to take
Defaults to remove if not given \"add\"")] - [ArgHints("global", "true|false", "if true this the ban/unban will be applyed to all estates the bot has access to")] + [ArgHints("avatar", "URLARG", "the uuid avatar you wish to ban")] + [ArgHints("mode", "URLARG", "What action would you like to take
Defaults to remove if not given \"add\"")] + [ArgHints("global", "URLARG", "if true this the ban/unban will be applyed to all estates the bot has access to")] [Route(HttpVerbs.Get, "/update-banlist/{avatar}/{mode}/{global}/{token}")] public Object UpdateBanlist(string avatar, string mode, string global, string token) diff --git a/BetterSecondbot/HttpService/Group.cs b/BetterSecondbot/HttpService/Group.cs index 358c78a..e746737 100644 --- a/BetterSecondbot/HttpService/Group.cs +++ b/BetterSecondbot/HttpService/Group.cs @@ -23,6 +23,8 @@ namespace BetterSecondBot.HttpService [ReturnHints("Unknown group")] [ReturnHints("Invaild group UUID")] [ReturnHints("Unable to find avatar UUID")] + [ArgHints("group", "URLARG", "the UUID of the group")] + [ArgHints("avatar", "URLARG", "the UUID of the avatar you wish to check with")] [Route(HttpVerbs.Get, "/ismember/{group}/{avatar}/{token}")] public object ismember(string group,string avatar,string token) { @@ -75,11 +77,11 @@ namespace BetterSecondBot.HttpService } [About("Requests the roles for the selected group
Replys with GroupRoleDetails object formated as follows
")] - [ArgHints("group", "URLARG", "UUID of the group")] [ReturnHints("GroupRoleDetails object")] [ReturnHints("Group is not currently known")] [ReturnHints("Invaild group UUID")] [ReturnHints("Updating")] + [ArgHints("group", "URLARG", "the UUID of the group")] [Route(HttpVerbs.Get, "/listgrouproles/{group}/{token}")] public object listgrouproles(string group, string token) { @@ -152,9 +154,9 @@ namespace BetterSecondBot.HttpService } [About("fetchs the groupchat history")] - [ArgHints("group", "URLARG", "UUID of the group")] [ReturnHints("Group UUID invaild")] [ReturnHints("Group Chat")] + [ArgHints("group", "URLARG", "the UUID of the group")] [Route(HttpVerbs.Get, "/getgroupchat/{group}/{token}")] public object getgroupchat(string group, string token) {