mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
@@ -68,9 +68,13 @@ class ClientApplication extends Base {
|
||||
|
||||
/**
|
||||
* The owner of this OAuth application
|
||||
* @type {User|Team}
|
||||
* @type {?User|Team}
|
||||
*/
|
||||
this.owner = data.team ? new Team(this.client, data.team) : this.client.users.add(data.owner);
|
||||
this.owner = data.team ?
|
||||
new Team(this.client, data.team) ?
|
||||
data.owner :
|
||||
this.client.users.add(data.owner) :
|
||||
null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user