Re:Dissent – A GTK4 Discord client written in Go
by GranPC on Wednesday March 20, 2024 @04:14AM
(#39763892)
Could you elaborate? What exactly is in that header and what's dangerous about not passing it?
Re:Dissent – A GTK4 Discord client written in Go
by diamondburned on Wednesday March 20, 2024 @05:23AM
(#39764317)
Hi, Dissent actually makes no effort to try and hide itself from Discord! In fact, API calls via Dissent have their User-Agent header set to "Dissent (https://libdb.so/dissent)" to emphasize the fact that they're NOT performed by the official client.
https://news.ycombinator.com/item?id=28435490 goes into this, but Discord doesn't actually care if you use a third-party client. They only care if said client misuses the API, and that happens to include a lot of past clients. I've been developing a handful of Discord clients for several years now and have never had my account banned, but I have a backup account just in case this scenario happens.
Of course, people may still be banned for using Dissent, so use it at your own risk.
Re:Dissent – A GTK4 Discord client written in Go
by tossit444 on Wednesday March 20, 2024 @01:33PM
(#39769682)
You're misusing the API by not following what headers are used by Discord itself, so this comes off as fairly irresponsible. 2021 was a long time ago, so I wouldn't take anything said there as accurate to current times.
Unsafe. Discord uses the aforementioned header for client identification for certain endpoints. Lack of usage of this header is dangerous.