Webpack build for branch master: 20a9e4a0f8

This commit is contained in:
Travis CI 2017-05-29 13:24:49 +00:00
parent 798a04ceb4
commit bcf0f595e6
2 changed files with 2 additions and 2 deletions

View file

@ -25918,8 +25918,8 @@ const Util = __webpack_require__(4);
module.exports = function sendMessage(channel, options) {
const User = __webpack_require__(12);
if (channel instanceof User) return channel.createDM().then(dm => dm.send(options));
const GuildMember = __webpack_require__(19);
if (channel instanceof User || channel instanceof GuildMember) return channel.createDM().then(dm => dm.send(options));
let { content, nonce, reply, code, disableEveryone, tts, embed, files, split } = options;
if (typeof nonce !== 'undefined') {

File diff suppressed because one or more lines are too long