Skip to content

Commit

Permalink
fix(BaseClient): Fall back to userAgentAppendix (#10113)
Browse files Browse the repository at this point in the history
fix(BaseClient): fall back to `Options.userAgentAppendix`
  • Loading branch information
Jiralite committed Feb 2, 2024
1 parent 278396e commit b16647e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/client/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class BaseClient extends EventEmitter {
...options.rest,
userAgentAppendix: options.rest?.userAgentAppendix
? `${Options.userAgentAppendix} ${options.rest.userAgentAppendix}`
: undefined,
: Options.userAgentAppendix,
},
};

Expand Down

0 comments on commit b16647e

Please sign in to comment.