KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
discord-webhook2
★ 12
Open GitHub ↗
Discord webhooks library in Rust
Download README (.md)
Explore Similar Repositories
llm_based_agent
:
No description available.
GDP
:
A simple gesture drawing app!
pibootjs
:
No description available.
DataDrivenLinearization
:
Constructing linearizing transformations for reduced-order modeling of nonlinear dynamical systems
com.hungnt.thirdparty.enhancedscroller
:
Enhanced Scroller v2.38.0
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
discord-webhook2
?
Download (.md)
# discord-webhook2 [](https://crates.io/crates/discord-webhook2) [](https://crates.io/crates/discord-webhook2) [](https://github.com/theaddonn/discord-webhook2/blob/main/LICENSE) A Rust library to interact with advanced discord webhooks. Why use this one over the others? While there are multiple other libraries, most of them are either unmaintained or lack certain features... Supports: - [X] Embeds - [X] Handling message ids - [X] Uploading files/extra data - [X] Sending, getting, editing and deleting messages - [X] Polls - [X] Emojis ### Example A basic "Hello World" using `discord-webhook2`: ```rust use discord_webhook2::{DiscordWebhook, Message}; #[tokio::main] async fn main() { let webhook = DiscordWebhook::new("discord webhook url").unwrap(); webhook.send(&Message::new(|message| message .content("Hello World!") )).await.unwrap(); } ``` More examples can be found in the examples directory [discord-webhook2/examples](https://github.com/theaddonn/discord-webhook2/tree/main/examples). ### Contributing Contributing is always appreciated. Feel free to create issues or open pull requests at any time. If you like this project dont forget to leave a star on github!