mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: specify custom Discord base URL
for use with twilight_http_proxy or similar
This commit is contained in:
parent
14b0e98791
commit
b430446171
4 changed files with 19 additions and 14 deletions
|
|
@ -48,7 +48,8 @@ namespace PluralKit.Bot
|
|||
{
|
||||
var client = new Myriad.Rest.DiscordApiClient(
|
||||
c.Resolve<BotConfig>().Token,
|
||||
c.Resolve<ILogger>()
|
||||
c.Resolve<ILogger>(),
|
||||
c.Resolve<BotConfig>().DiscordBaseUrl
|
||||
);
|
||||
|
||||
client.OnResponseEvent += ((_, ev) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue