diff --git a/Core/HttpService/HttpAsService.cs b/Core/HttpService/HttpAsService.cs index e1aee8c..d334c4e 100644 --- a/Core/HttpService/HttpAsService.cs +++ b/Core/HttpService/HttpAsService.cs @@ -181,6 +181,7 @@ namespace BetterSecondBot.HttpService .WithWebApi("/chat", m => m.WithController(() => new HTTP_Chat(Bot, Tokens))) .WithWebApi("/core", m => m.WithController(() => new HTTP_Core(Bot, Tokens))) .WithWebApi("/dialogs", m => m.WithController(() => new HTTP_Dialogs(Bot, Tokens))) + .WithWebApi("/discord", m => m.WithController(() => new HTTP_Discord(Bot, Tokens))) .WithWebApi("/estate", m => m.WithController(() => new HTTP_Estate(Bot, Tokens))) .WithWebApi("/friends", m => m.WithController(() => new HTTP_Friends(Bot, Tokens))) .WithWebApi("/funds", m => m.WithController(() => new Http_Funds(Bot, Tokens))) diff --git a/Core/Static/http_commands_helper.cs b/Core/Static/http_commands_helper.cs index ac4f821..3479928 100644 --- a/Core/Static/http_commands_helper.cs +++ b/Core/Static/http_commands_helper.cs @@ -15,6 +15,7 @@ namespace Core.Static 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));