diff --git a/src/lib/commandDispatcher.js b/src/lib/commandDispatcher.js index 5b69232..94eec60 100644 --- a/src/lib/commandDispatcher.js +++ b/src/lib/commandDispatcher.js @@ -148,6 +148,10 @@ 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;