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