discord-webhooks 0.1.0

This is a simple library for interacting with Discord's webhooks
Documentation

Discord Webhooks

This is a simple library for interacting with Discord's webhooks.

Examples

use discord-webhooks::Webhook;
fn execute() {
    let hook = Webhook::new(id, token);
    Webhook::execute_webhook(hook, "{content: 'hi', embeds: [], tts = false }").unwrap();
}
fn delete() {
    Webhook::delete_Webhook(hook).unwrap();
}
fn get() {
    Webhook::get_webhook(hook).unwrap();
}
fn edit_message() {
    Webhook::edit_message(hook, body, message_id)
}