As indicated in the issue for updating Serenity, we want to make this barrier harder, so it would be good to define some trait - Backend - which wraps the underlying library being used (Serenity) so that subsystems never actually handle Serenity themselves.
This way, we could also swap Serenity out for the Rive library, if we wanted to support Revolt instead of Discord.
As indicated in the issue for updating Serenity, we want to make this barrier harder, so it would be good to define some trait - Backend - which wraps the underlying library being used (Serenity) so that subsystems never actually handle Serenity themselves.
This way, we could also swap Serenity out for the Rive library, if we wanted to support Revolt instead of Discord.