mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(BaseClient): Fall back to userAgentAppendix (#10113)
fix(BaseClient): fall back to `Options.userAgentAppendix`
This commit is contained in:
@@ -44,7 +44,7 @@ class BaseClient extends EventEmitter {
|
||||
...options.rest,
|
||||
userAgentAppendix: options.rest?.userAgentAppendix
|
||||
? `${Options.userAgentAppendix} ${options.rest.userAgentAppendix}`
|
||||
: undefined,
|
||||
: Options.userAgentAppendix,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user