fix join guild

even though this probably isnt the best idea in a third party client...
This commit is contained in:
ouwou 2021-09-13 01:44:20 -04:00
parent 95b93a0698
commit b012340830

View File

@ -434,7 +434,7 @@ void DiscordClient::SendLazyLoad(Snowflake id) {
}
void DiscordClient::JoinGuild(std::string code) {
m_http.MakePOST("/invites/" + code, "", [](auto) {});
m_http.MakePOST("/invites/" + code, "{}", [](auto) {});
}
void DiscordClient::LeaveGuild(Snowflake id) {