From 8192c4147066c22a8cfd6a6fca3d286ac2a2d167 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 19 Apr 2017 02:42:19 +0000 Subject: [PATCH] Webpack build for branch master: b7e16ad4b8fad3d812d766a1efab8bb65ed61784 --- discord.master.js | 108 +++++++++++++++++++++++----------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/discord.master.js b/discord.master.js index f5f29588..78ef41c8 100644 --- a/discord.master.js +++ b/discord.master.js @@ -21736,27 +21736,27 @@ module.exports = GuildRoleUpdateAction; /* 116 */ /***/ (function(module, exports, __webpack_require__) { -const Action = __webpack_require__(2); - -class GuildRolesPositionUpdate extends Action { - handle(data) { - const client = this.client; - - const guild = client.guilds.get(data.guild_id); - if (guild) { - for (const partialRole of data.roles) { - const role = guild.roles.get(partialRole.id); - if (role) role.position = partialRole.position; - } - } - - return { - guild, - }; - } -} - -module.exports = GuildRolesPositionUpdate; +const Action = __webpack_require__(2); + +class GuildRolesPositionUpdate extends Action { + handle(data) { + const client = this.client; + + const guild = client.guilds.get(data.guild_id); + if (guild) { + for (const partialRole of data.roles) { + const role = guild.roles.get(partialRole.id); + if (role) role.position = partialRole.position; + } + } + + return { + guild, + }; + } +} + +module.exports = GuildRolesPositionUpdate; /***/ }), @@ -24067,17 +24067,17 @@ module.exports = GuildDeleteHandler; /* 144 */ /***/ (function(module, exports, __webpack_require__) { -const AbstractHandler = __webpack_require__(1); - -class GuildEmojisUpdate extends AbstractHandler { - handle(packet) { - const client = this.packetManager.client; - const data = packet.d; - client.actions.GuildEmojisUpdate.handle(data); - } -} - -module.exports = GuildEmojisUpdate; +const AbstractHandler = __webpack_require__(1); + +class GuildEmojisUpdate extends AbstractHandler { + handle(packet) { + const client = this.packetManager.client; + const data = packet.d; + client.actions.GuildEmojisUpdate.handle(data); + } +} + +module.exports = GuildEmojisUpdate; /***/ }), @@ -24347,34 +24347,34 @@ module.exports = MessageDeleteBulkHandler; /* 157 */ /***/ (function(module, exports, __webpack_require__) { -const AbstractHandler = __webpack_require__(1); - -class MessageReactionAddHandler extends AbstractHandler { - handle(packet) { - const client = this.packetManager.client; - const data = packet.d; - client.actions.MessageReactionAdd.handle(data); - } -} - -module.exports = MessageReactionAddHandler; +const AbstractHandler = __webpack_require__(1); + +class MessageReactionAddHandler extends AbstractHandler { + handle(packet) { + const client = this.packetManager.client; + const data = packet.d; + client.actions.MessageReactionAdd.handle(data); + } +} + +module.exports = MessageReactionAddHandler; /***/ }), /* 158 */ /***/ (function(module, exports, __webpack_require__) { -const AbstractHandler = __webpack_require__(1); - -class MessageReactionRemove extends AbstractHandler { - handle(packet) { - const client = this.packetManager.client; - const data = packet.d; - client.actions.MessageReactionRemove.handle(data); - } -} - -module.exports = MessageReactionRemove; +const AbstractHandler = __webpack_require__(1); + +class MessageReactionRemove extends AbstractHandler { + handle(packet) { + const client = this.packetManager.client; + const data = packet.d; + client.actions.MessageReactionRemove.handle(data); + } +} + +module.exports = MessageReactionRemove; /***/ }),