Compare commits

...

2 commits

2 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -540,7 +540,7 @@ async function processUrl(msg, url, spoiler = false) {
})
.then(() => {
if (sendWait) {
msg.deleteReaction("\uD83D\uDCE4");
msg.removeReaction("\uD83D\uDCE4");
}
if ((msg.flags & MessageFlags.SUPPRESS_EMBEDS) === 0) {