SB-tools / DeArrow-Bot

Replace YouTube embeds on Discord with DeArrow data.
https://discord.com/oauth2/authorize?client_id=1114610194438181035&permissions=274877999104&scope=bot
GNU General Public License v3.0
9 stars 0 forks source link

Support third party Discord implementations #6

Closed erkinalp closed 1 year ago

erkinalp commented 1 year ago

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

There are third party server implementations of Discord, such as https://gitlab.com/litecord/litecord, and https://github.com/spacebarchat/server. Those might also want to use this DeArrow bot.

Describe the solution you'd like

Allow us to change the endpoints, defaulting to discord.com.

sebm253 commented 1 year ago

I currently don't see any motivation to implement this in the official instance, however, you are free to fork the project and modify the underlying gateway and rest URL: https://github.com/disgoorg/disgo/blob/master/gateway/gateway_config.go#L120-L125 https://github.com/disgoorg/disgo/blob/master/rest/rest_config.go#L71-L76

keep in mind this bot wasn't built to support selfhosting.