hack fix quote mentions not pinging

This commit is contained in:
Lamp 2020-04-09 19:33:24 -07:00
parent c5e8d4c972
commit b6b2528204

@ -298,6 +298,8 @@ client.on("message", async function (message) {
let mlpi = message.content.indexOf(mlm[0]) + mlm[0].length;
let mmc = message.content.substring(0, mlpi) + ` <@${lm.author.id}>` + message.content.substring(mlpi);
await message.edit(mmc, {embed: lme});
// mentions in edits don't have effect; little hack to work-around :jacc:
(await message.channel.send(`<@${lm.author.id}>`)).delete();
});