diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-10-06 03:08:54 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-10-06 03:08:54 -0400 |
commit | 0a34c04b44d3f500317a319d497ce2064fdd852f (patch) | |
tree | d6531c965796940db82c43ff6ce78630eaef3e66 /src/discord/discord.cpp | |
parent | 7e851685768d26143e7464fc4acb2d2d5a621eac (diff) | |
download | abaddon-portaudio-0a34c04b44d3f500317a319d497ce2064fdd852f.tar.gz abaddon-portaudio-0a34c04b44d3f500317a319d497ce2064fdd852f.zip |
remove ability to join guilds
because 1. joining a guild seems to often require captchas now which are never going to be supported and 2. joining guilds is one of the things that upsets discords spam filter the most, so it kinda makes sense to remove anyways just like open dm
Diffstat (limited to 'src/discord/discord.cpp')
-rw-r--r-- | src/discord/discord.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/discord/discord.cpp b/src/discord/discord.cpp index e1b7a48..2808e17 100644 --- a/src/discord/discord.cpp +++ b/src/discord/discord.cpp @@ -573,10 +573,6 @@ void DiscordClient::SendThreadLazyLoad(Snowflake id) { m_websocket.Send(msg); } -void DiscordClient::JoinGuild(const std::string &code) { - m_http.MakePOST("/invites/" + code, "{}", [](auto) {}); -} - void DiscordClient::LeaveGuild(Snowflake id) { m_http.MakeDELETE("/users/@me/guilds/" + std::to_string(id), [](auto) {}); } |