From 2da3c404d2d987ebe5e32c3029550edb57d04e9d Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Wed, 24 Aug 2022 12:08:33 +0700 Subject: [PATCH] fix(User): user.bio return object --- src/structures/User.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/User.js b/src/structures/User.js index 51ea98d..85b03fe 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -222,7 +222,7 @@ class User extends Base { } if ('bio' in data.user_profile || 'bio' in data.user) { - this.bio = data.user_profile || data.user.bio; + this.bio = data.user_profile.bio || data.user.bio; } if ('premium_type' in data) {