Skip to content

Commit b16647e

Browse files
authored
fix(BaseClient): Fall back to userAgentAppendix (#10113)
fix(BaseClient): fall back to `Options.userAgentAppendix`
1 parent 278396e commit b16647e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/client/BaseClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class BaseClient extends EventEmitter {
4444
...options.rest,
4545
userAgentAppendix: options.rest?.userAgentAppendix
4646
? `${Options.userAgentAppendix} ${options.rest.userAgentAppendix}`
47-
: undefined,
47+
: Options.userAgentAppendix,
4848
},
4949
};
5050

0 commit comments

Comments
 (0)