UnifierHQ / unifier

A cross-server and cross-platform bridge bot that works just as fast as you can type 🚀
https://wiki.unifierhq.org
GNU Affero General Public License v3.0
12 stars 17 forks source link

Allow Plugins to use native bridge #142

Closed greeeen-dev closed 4 months ago

greeeen-dev commented 5 months ago

Checklist

Is your feature request related to a problem? Please describe.

Currently, Unifier Bridge only natively supports Discord, Revolt, and Guilded. While Revolt and Guilded Support plugins can take advantage of this native support, other plugins will need to have their own bridging code, which may negatively impact the performance of Unifier.

Describe the solution you'd like

Add a content_bridge service which will allow plugins to extend native support for platforms. This will allow Plugins to take advantage of the native performance and simplicity of Unifier Bridge without having to modify the bridge to add native support.

Describe alternatives you've considered

Additional context

This change WILL break Revolt Support and Guilded Support Plugins if they're not upgraded. We will be providing updated versions of these plugins using the new service on day one of v2.0.7 release.

UnifierHQ bridge Plugins should remain cross-compatible with Unifier versions older than v2.0.7.

greeeen-dev commented 5 months ago

Note: If this is implemented, scripts won't be reloaded to conserve memory. A full reboot will be required.

greeeen-dev commented 4 months ago

Completed, this will be closed once the PR is merged

greeeen-dev commented 4 months ago

You know what I'm closing it anyways, I don't want to see these left open