This is a Rust library for firing a Discord webhook
no-panic
Disables panic!
in the crateblocking
Enables reqwest
's blocking
feature. One can use the blocking methods with the execute_url_sync
and execute_sync
on WebhookRequest
Example usage: ```rs let req = WebhookRequestBuilder::new() .setdata(WebhookBuilder::new() .setembeds(vec![ EmbedBuilder::new() .settitle("The Embed Title") .setcolorhex("#ff0000") // Red .setdescription("Hello world!") .setfields(vec![ EmbedFieldBuilder::new() .setname("Field Name") .set_value("Field Value") .build() ] ) .build() ] ) .build() ) .build();
let url = getdiscordwebhookurl(); req.executeurl(&url); ```