From 1598efa0b8a22d6ca50e10bd15c215fcef27fcb5 Mon Sep 17 00:00:00 2001 From: Isabella Date: Mon, 11 Dec 2017 23:33:10 -0600 Subject: [PATCH] fix(CreateMessage): reassigning wrong content (#2169) --- src/structures/shared/CreateMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/shared/CreateMessage.js b/src/structures/shared/CreateMessage.js index 8ae2c369f..d0fa35726 100644 --- a/src/structures/shared/CreateMessage.js +++ b/src/structures/shared/CreateMessage.js @@ -39,7 +39,7 @@ module.exports = async function createMessage(channel, options) { const id = channel.client.users.resolveID(options.reply); const mention = `<@${options.reply instanceof GuildMember && options.reply.nickname ? '!' : ''}${id}>`; 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) {