Skip to content

Commit

Permalink
fix(BaseClient): fall back to Options.userAgentAppendix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Feb 2, 2024
1 parent 278396e commit e709557
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 e709557

Please sign in to comment.