-
Notifications
You must be signed in to change notification settings - Fork 6
Change API Endpoint #20
Comments
FYI this is already possible @cainy-a https://pkg.go.dev/github.com/cainy-a/discordgo#SetEndpoints Just needs a config entry or CLI parameter |
Oh ok awesome! |
Might want to make this a per session thing though, as accounts may want to connect to different backends or you may even support multiple parallel sessions that use the same interface. Taking #18 and this issue at the same time into account. Right now this is package wide, so all session instances would use the same endpoints. |
that seems sensible yes |
ig thats just an extra thing to store with the accounts array |
Thx |
Why'd you close this? It hasn't been implemented... |
Idk I’m on my phone rn so probably misclicked |
ok |
i guess close with comment and comment are fairly close together on small screens |
What do you want
I want to change the API endpoint for Gord's requests. Normally, Gord accesses discord's api at
discord.com/api
, but I want to be able to change that for use with Fosscord.Why
It will allow compatibility with projects like litecord (not lightcord) and Fosscord.
Implementation hints
config file entry maybe
The text was updated successfully, but these errors were encountered: