polyphony-chat / polyphony

A multi-instance, Polyphony/Spacebar API-compatible chat client
Mozilla Public License 2.0
45 stars 2 forks source link

Attach serenity ClientBuilder to SpacebarBackend #19

Closed bitfl0wer closed 1 year ago

bitfl0wer commented 1 year ago

Still needs testing before it can get merged.

bitfl0wer commented 1 year ago

This will be merged for the infrastructure changes that have been done on this branch, but: Going forward, this project will not use Serenity as a Discord-Rust API wrapper. Reason being, is that Serenity was not intended to be used with Discord-compatible APIs which are not Discord.com itself.

This could probably be solved, if I took the time to thoroughly go through the big Serenity codebase and make the relevant changes. However, this would be no easy feat, and I am not experienced enough in the Rust language to make such fundamental changes to a project, as of yet.

I will be looking for another library, and if everything fails: I will have to write my own library. Oh well.