4 ms·
What stops you from using discord messages as a database? :p I really enjoy this type of stuff though, is there a term for it? A while back after skype got rid
by zachrip 4y ago
What stops you from using discord messages as a database? :p I really enjoy this type of stuff though, is there a term for it?
A while back after skype got rid of their sdk I was annoyed that the app didn't unfurl gifs. So I reverse engineered their api for sending/updating messages and I realized you could update a message that contained a file. The only problem was the file had to be on their servers or a client wouldn't display it. So I reverse engineered the ios app as well to find a way to get a file on their servers (I don't recall why I couldn't do it from the web api). After that I had two things: a way to get files on their servers, and an api to update messages. So I took each frame of a gif, uploaded to their servers, and then used the api to update the message at the rate of the gif.
Of course there will be people making discord bots out there laughing at how simple this sounds, but the combination of reverse engineering as well as applying that to affect a new feature in the app I thought was pretty novel.
- gs17 4y ago> What stops you from using discord messages as a database? :p I really enjoy this type of stuff though, is there a term for it? Potential SIGBOVIK papers? But more seriously, for communications, it would be "covert channels". I met someone at NCSU who was working on something with bots communicating through WoW trade offers (which would be unlikely to be logged, unlike trades or chat messages).
- nwiswell 4y ago> What stops you from using discord messages as a database? :p I really enjoy this type of stuff though, is there a term for it? "Our tech stack is Clojure hosted on the JVM of massively distributed workers running opportunistically on Robocode Tank Royale with homebrew float-encoded protobuf message passing, and using NoSQL Discord messages as a backend."
- heyitsguay 4y agoYou say it's an ugly hack, but our +0.8% profit margins speak for themselves!