html terminal
Diffstat (limited to 'src/webhook.rs')
-rw-r--r--src/webhook.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webhook.rs b/src/webhook.rs
index 6412a8f..7ebc069 100644
--- a/src/webhook.rs
+++ b/src/webhook.rs
@@ -27,6 +27,7 @@ impl<'a> Webhook<'a> {
for<'b> F: FnOnce(&'b mut ExecuteWebhook<'a>) -> &'b mut ExecuteWebhook<'a>,
{
let mut execute_webhook = ExecuteWebhook::default();
+ execute_webhook.allowed_mentions(|m| m.empty_parse());
block(&mut execute_webhook);
let map = json::hashmap_to_json_map(execute_webhook.0);