1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Message.ts b/src/util/Message.ts
index 42cdbb90..3e177517 100644
--- a/src/util/Message.ts
+++ b/src/util/Message.ts
@@ -124,7 +124,7 @@ export async function sendMessage(opts: Partial<Message>) {
await emitEvent({ event: "MESSAGE_CREATE", channel_id: opts.channel_id, data, guild_id: message.guild_id } as MessageCreateEvent);
- postHandleMessage(data); // no await as it shouldnt block the message send function
+ postHandleMessage(data).catch((e) => {}); // no await as it shouldnt block the message send function and silently catch error
return data;
}
|