mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Webpack build for branch master: 1598efa0b8
This commit is contained in:
parent
1530f69688
commit
24ffee9e2d
2 changed files with 2 additions and 2 deletions
|
|
@ -10469,7 +10469,7 @@ module.exports = async function createMessage(channel, options) {
|
||||||
const id = channel.client.users.resolveID(options.reply);
|
const id = channel.client.users.resolveID(options.reply);
|
||||||
const mention = `<@${options.reply instanceof GuildMember && options.reply.nickname ? '!' : ''}${id}>`;
|
const mention = `<@${options.reply instanceof GuildMember && options.reply.nickname ? '!' : ''}${id}>`;
|
||||||
if (options.split) options.split.prepend = `${mention}, ${options.split.prepend || ''}`;
|
if (options.split) options.split.prepend = `${mention}, ${options.split.prepend || ''}`;
|
||||||
options.content = `${mention}${typeof options.content !== 'undefined' ? `, ${options.content}` : ''}`;
|
content = `${mention}${typeof options.content !== 'undefined' ? `, ${options.content}` : ''}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (content) {
|
if (content) {
|
||||||
|
|
|
||||||
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