mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
fix(ClientApplication): fix ternaries
This commit is contained in:
@@ -71,10 +71,10 @@ class ClientApplication extends Base {
|
|||||||
* @type {?User|Team}
|
* @type {?User|Team}
|
||||||
*/
|
*/
|
||||||
this.owner = data.team ?
|
this.owner = data.team ?
|
||||||
new Team(this.client, data.team) ?
|
new Team(this.client, data.team) :
|
||||||
data.owner :
|
data.owner ?
|
||||||
this.client.users.add(data.owner) :
|
this.client.users.add(data.owner) :
|
||||||
null;
|
null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user