Update APIMessage.js

This commit is contained in:
Crawl 2020-03-18 05:15:09 +01:00 committed by GitHub
parent 6c45f118d5
commit a40a105250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,8 +114,8 @@ class APIMessage {
replyPrefix = this.options.replyPrefixer
? this.options.replyPrefixer(this.options.reply)
: this.target.client.options.replyPrefixer
? this.target.client.options.replyPrefixer(this.options.reply)
: `<@${this.options.reply instanceof GuildMember && this.options.reply.nickname ? '!' : ''}${id}>, `;
? this.target.client.options.replyPrefixer(this.options.reply)
: `<@${this.options.reply instanceof GuildMember && this.options.reply.nickname ? '!' : ''}${id}>, `;
if (isSplit) splitOptions.prepend = `${replyPrefix}${splitOptions.prepend || ''}`;
}