From d35e0862e6b60fe3c4f823371627359f3ce3e68b Mon Sep 17 00:00:00 2001 From: Alee14 Date: Fri, 28 Jul 2017 16:20:27 -0400 Subject: Removing node modules (go get them yourself :P) --- .../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 6ee9fc5..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; - - /** - * an array of partial server integrations (not yet implemented in this lib) - * @type {Object[]} - */ - this.integrations = data.integrations; - } -} - -module.exports = UserConnection; -- cgit v1.2.3