Fix Discord IntegrationsStarted by Arceus at Nov 25, 2019 at 7:48 pm
Just because you lost me as a friend, doesn't mean you gained me as an enemy. I'm bigger than that. I still want to see you eat, just not at my table.
So recently the Discord integrations from Gaia broke. This does mean that unfortunately until Salerno comes out, it's inherently broken in Athens, and I don't really have the time to release a hotfix.
You can quickly fix it yourself, though.
Get into application/core and open nyx.php
You're looking for all the functions prefixed with discord_
CURLOPT_HTTPHEADER => [ "Length" => strlen($msgObject), "Content-Type" => "application/json" ]
Look for this.
Change it to this.
CURLOPT_HTTPHEADER => ["Content-Type: application/json"]
There are several places where this appears, all of the Discord functions use it, and yes you'll have to change every single one. (This will change in Salerno! lol)
Your integrations should be working again. c:
Honey you can't dilute a war crime.
Check out my writing blog! All of my fanfiction and eventually my original stories are published here.