only send a subsect of the webhook in a message

This commit is contained in:
Zomatree
2023-04-18 19:39:34 +01:00
parent 83429f9f65
commit 2fad66d24a
5 changed files with 27 additions and 8 deletions

View File

@@ -441,7 +441,7 @@ impl Channel {
masquerade: data.masquerade,
interactions: data.interactions.unwrap_or_default(),
author: author_id,
webhook,
webhook: webhook.map(|w| w.into_message_webhook()),
..Default::default()
};