Fix uncatched await in execution catch block

mitigates #11
This commit is contained in:
Wroclaw 2023-08-04 03:34:28 +02:00
parent db8628d425
commit 0c0cbceb46

View file

@ -345,7 +345,7 @@ async function executeFromQueue(channel: string) {
return executeFromQueue(channel);
}
await requestReply(
requestReply(
message,
{
embeds: [{
@ -355,7 +355,7 @@ async function executeFromQueue(channel: string) {
},
{allowedMentions: { repliedUser: false } },
{ ephemeral: true },
);
).catch (() => {/* GRACEFAIL: It's okay if we don't reply with an error */});
}
channelQueue.shift();