feat(core): include user and member on Message events

This commit is contained in:
Paul Makles committed 2024-06-25 21:01:45 +01:00
1 parent ac20b6bc99
commit 1d5dae4751
11 files changed
+117 -34

No files matched your search

@@ -1072,6 +1072,13 @@ pub async fn webhook_execute_github(
#[allow(clippy::disallowed_methods)]
message.attach_sendable_embed(db, sendable_embed).await?;
message
.send(db, MessageAuthor::Webhook(&webhook.into()), &channel, false)
.send(
db,
MessageAuthor::Webhook(&webhook.into()),
None,
None,
&channel,
false,
)
.await
}