diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index 94eec60..5b69232 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -148,10 +148,6 @@ async function CommandDispatcher(msg) { files.push(newFile); response.files = files; } - if (response.files) { - response.attachments = response.files; - delete response.files; - } if (response.embed) { response.embeds = [...(response.embeds ?? []), response.embed]; delete response.embed; diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 0627a4b..e03f660 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -540,7 +540,7 @@ async function processUrl(msg, url, spoiler = false) { }) .then(() => { if (sendWait) { - msg.removeReaction("\uD83D\uDCE4"); + msg.deleteReaction("\uD83D\uDCE4"); } if ((msg.flags & MessageFlags.SUPPRESS_EMBEDS) === 0) {