SecondBot/Core/Static/http_commands_helper.cs
Madpeter d5853dd4de Multiple improvements
Merged IM and Chat command groups.
Changed return hints for failures to ReturnHintsFailure so the wiki make can mark errors.
Added missing arg hints for Notecard commands.
Added new NotecardDirectSend command for speed runners.
Improved About info for GroupAddRole command.
Corrected About info for GroupInvite command.
GoHome command moved to self workgroup.
2021-11-13 13:41:50 +00:00

33 lines
1.3 KiB
C#

using BetterSecondBot.HttpService;
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.Static
{
public static class http_commands_helper
{
public static Dictionary<string, Type> getCommandModules()
{
Dictionary<string, Type> reply = new Dictionary<string, Type>();
reply.Add("animation", typeof(HTTP_Animation));
reply.Add("avatars", typeof(HTTP_Avatars));
reply.Add("chat", typeof(HTTP_Chat));
reply.Add("core", typeof(HTTP_Core));
reply.Add("dialogs", typeof(HTTP_Dialogs));
reply.Add("discord", typeof(HTTP_Discord));
reply.Add("estate", typeof(HTTP_Estate));
reply.Add("friends", typeof(HTTP_Friends));
reply.Add("funds", typeof(Http_Funds));
reply.Add("group", typeof(HTTP_Group));
reply.Add("info", typeof(HTTP_Info));
reply.Add("inventory", typeof(HTTP_Inventory));
reply.Add("movement", typeof(HTTP_Movement));
reply.Add("notecard", typeof(HTTP_Notecard));
reply.Add("parcel", typeof(HTTP_Parcel));
reply.Add("self", typeof(HTTP_Self));
reply.Add("streamadmin", typeof(HTTP_StreamAdmin));
return reply;
}
}
}