From f9159ea2d994e14180fb02ab562f0119513e67cf Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Fri, 3 Apr 2020 02:48:28 -0700 Subject: 2020/04/03, 02:47, V1.2.2 --- .../discord.js/src/structures/UserConnection.js | 48 ---------------------- 1 file changed, 48 deletions(-) delete mode 100644 node_modules/discord.js/src/structures/UserConnection.js (limited to 'node_modules/discord.js/src/structures/UserConnection.js') diff --git a/node_modules/discord.js/src/structures/UserConnection.js b/node_modules/discord.js/src/structures/UserConnection.js deleted file mode 100644 index ea6c65f..0000000 --- a/node_modules/discord.js/src/structures/UserConnection.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Represents a user connection (or "platform identity"). - */ -class UserConnection { - constructor(user, data) { - /** - * The user that owns the connection - * @type {User} - */ - this.user = user; - - this.setup(data); - } - - setup(data) { - /** - * The type of the connection - * @type {string} - */ - this.type = data.type; - - /** - * The username of the connection account - * @type {string} - */ - this.name = data.name; - - /** - * The id of the connection account - * @type {string} - */ - this.id = data.id; - - /** - * Whether the connection is revoked - * @type {boolean} - */ - this.revoked = data.revoked; - - /** - * Partial server integrations (not yet implemented) - * @type {Object[]} - */ - this.integrations = data.integrations; - } -} - -module.exports = UserConnection; -- cgit v1.2.3