From 48cb287a49c069414a5386dad7739afb3e2672c6 Mon Sep 17 00:00:00 2001 From: Voltrex Date: Sat, 14 Aug 2021 02:55:43 +0430 Subject: [PATCH] fix(Sticker): use renamed method The `CachedManager#add()` method was renamed to `CachedManager#_add()` to be treated as an internal method, which should be used here. Fixed #6420 --- src/structures/Sticker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Sticker.js b/src/structures/Sticker.js index 621fc61b4de3..fa9ccc116661 100644 --- a/src/structures/Sticker.js +++ b/src/structures/Sticker.js @@ -78,7 +78,7 @@ class Sticker extends Base { * The user that uploaded the guild sticker * @type {?User} */ - this.user = sticker.user ? this.client.users.add(sticker.user) : null; + this.user = sticker.user ? this.client.users._add(sticker.user) : null; /** * The standard sticker's sort order within its pack