is it a hack if it works?

This commit is contained in:
MathMan05 authored and Rory& committed 2025-11-23 00:57:31 +01:00
1 parent 85d09bd445
commit 8bf62e1f57
3 files changed
+32 -3

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ export async function sendMessage(opts: MessageOptions) {
const ephermal = (message.flags & (1 << 6)) !== 0;
await Promise.all([
ephermal ? null : Message.insert(message),
Message.insert(message),
emitEvent({
event: "MESSAGE_CREATE",
...(ephermal ? { user_id: message.interaction_metadata?.user_id } : { channel_id: message.channel_id }),