fix(SendSlash): BotId !== applicationId
example: dyno
This commit is contained in:
@@ -79,6 +79,7 @@ class User extends Base {
|
||||
* @readonly
|
||||
*/
|
||||
this.application = null;
|
||||
this._partial = true;
|
||||
this._patch(data);
|
||||
}
|
||||
|
||||
@@ -207,6 +208,8 @@ class User extends Base {
|
||||
_ProfilePatch(data) {
|
||||
if (!data) return;
|
||||
|
||||
this._partial = false;
|
||||
|
||||
if (data.connected_accounts.length > 0) {
|
||||
this.connectedAccounts = data.connected_accounts;
|
||||
}
|
||||
@@ -240,6 +243,10 @@ class User extends Base {
|
||||
member._ProfilePatch(data.guild_member_profile);
|
||||
}
|
||||
|
||||
if ('application' in data) {
|
||||
this.application = new ClientApplication(this.client, data.application, this);
|
||||
}
|
||||
|
||||
this.mutualGuilds = new Collection(data.mutual_guilds.map(obj => [obj.id, obj]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user