mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Update APIMessage.js
This commit is contained in:
parent
6c45f118d5
commit
a40a105250
1 changed files with 2 additions and 2 deletions
|
|
@ -114,8 +114,8 @@ class APIMessage {
|
||||||
replyPrefix = this.options.replyPrefixer
|
replyPrefix = this.options.replyPrefixer
|
||||||
? this.options.replyPrefixer(this.options.reply)
|
? this.options.replyPrefixer(this.options.reply)
|
||||||
: this.target.client.options.replyPrefixer
|
: this.target.client.options.replyPrefixer
|
||||||
? this.target.client.options.replyPrefixer(this.options.reply)
|
? this.target.client.options.replyPrefixer(this.options.reply)
|
||||||
: `<@${this.options.reply instanceof GuildMember && this.options.reply.nickname ? '!' : ''}${id}>, `;
|
: `<@${this.options.reply instanceof GuildMember && this.options.reply.nickname ? '!' : ''}${id}>, `;
|
||||||
if (isSplit) splitOptions.prepend = `${replyPrefix}${splitOptions.prepend || ''}`;
|
if (isSplit) splitOptions.prepend = `${replyPrefix}${splitOptions.prepend || ''}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue