Compare commits
2 commits
dc954a3f60
...
2dd510030d
Author | SHA1 | Date | |
---|---|---|---|
2dd510030d | |||
8e4e58016f |
2 changed files with 5 additions and 1 deletions
|
@ -148,6 +148,10 @@ async function CommandDispatcher(msg) {
|
||||||
files.push(newFile);
|
files.push(newFile);
|
||||||
response.files = files;
|
response.files = files;
|
||||||
}
|
}
|
||||||
|
if (response.files) {
|
||||||
|
response.attachments = response.files;
|
||||||
|
delete response.files;
|
||||||
|
}
|
||||||
if (response.embed) {
|
if (response.embed) {
|
||||||
response.embeds = [...(response.embeds ?? []), response.embed];
|
response.embeds = [...(response.embeds ?? []), response.embed];
|
||||||
delete response.embed;
|
delete response.embed;
|
||||||
|
|
|
@ -540,7 +540,7 @@ async function processUrl(msg, url, spoiler = false) {
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
if (sendWait) {
|
if (sendWait) {
|
||||||
msg.deleteReaction("\uD83D\uDCE4");
|
msg.removeReaction("\uD83D\uDCE4");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((msg.flags & MessageFlags.SUPPRESS_EMBEDS) === 0) {
|
if ((msg.flags & MessageFlags.SUPPRESS_EMBEDS) === 0) {
|
||||||
|
|
Loading…
Reference in a new issue