Crates.io | smalld_rust |
lib.rs | smalld_rust |
version | 0.2.0 |
source | src |
created_at | 2021-01-18 18:52:34.963031 |
updated_at | 2021-01-23 23:27:11.775313 |
description | A minimalist client for the Discord API |
homepage | https://github.com/princesslana/smalld_rust |
repository | https://github.com/princesslana/smalld_rust |
max_upload_size | |
id | 343622 |
size | 65,031 |
SmallD aims to be a minmalist client for the Discord API. It aims to let you use the Discord API, without hiding or abstracting it.
smalld_rust is published on crates.io. Add to the dependencies section of your Cargo.toml.
[dependencies]
smalld_rust = "*"
To use the latest development version add as a git dependency.
[dependencies]
smalld_rust = { git = "https://github.com/princesslana/smalld_rust", branch = "main" }
Documentation is published to docs.rs. Help is also available on the Discord Projects Hub Discord server.
To run the example ping bot:
$ SMALLD_TOKEN=<discord bot token> RUST_LOG=info cargo run --example ping_bot
WARNING: Enabling debug level logging will output your token in the log messages, so be careful where you send those.
Reach out to the Discord Projects Hub on Discord and look for the smalld_rust channel.