mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +00:00
Webpack build for branch master: 20a9e4a0f8
This commit is contained in:
parent
798a04ceb4
commit
bcf0f595e6
2 changed files with 2 additions and 2 deletions
|
|
@ -25918,8 +25918,8 @@ const Util = __webpack_require__(4);
|
||||||
|
|
||||||
module.exports = function sendMessage(channel, options) {
|
module.exports = function sendMessage(channel, options) {
|
||||||
const User = __webpack_require__(12);
|
const User = __webpack_require__(12);
|
||||||
if (channel instanceof User) return channel.createDM().then(dm => dm.send(options));
|
|
||||||
const GuildMember = __webpack_require__(19);
|
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;
|
let { content, nonce, reply, code, disableEveryone, tts, embed, files, split } = options;
|
||||||
|
|
||||||
if (typeof nonce !== 'undefined') {
|
if (typeof nonce !== 'undefined') {
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue