From b16647e6cc6c1d0ee13ac5ce3bf31fd743355eb3 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 2 Feb 2024 16:32:18 +0000 Subject: [PATCH] fix(BaseClient): Fall back to `userAgentAppendix` (#10113) fix(BaseClient): fall back to `Options.userAgentAppendix` --- packages/discord.js/src/client/BaseClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/client/BaseClient.js b/packages/discord.js/src/client/BaseClient.js index 8df5e549de3c..d9473c4a9e45 100644 --- a/packages/discord.js/src/client/BaseClient.js +++ b/packages/discord.js/src/client/BaseClient.js @@ -44,7 +44,7 @@ class BaseClient extends EventEmitter { ...options.rest, userAgentAppendix: options.rest?.userAgentAppendix ? `${Options.userAgentAppendix} ${options.rest.userAgentAppendix}` - : undefined, + : Options.userAgentAppendix, }, };