4 releases (2 breaking)

0.2.0 Jan 23, 2021
0.1.1 Jan 19, 2021
0.1.0 Jan 18, 2021
0.0.1 Jan 18, 2021

#4 in #hiding

MIT license

36KB
844 lines

smalld_rust

Crates.io docs.rs Build Discord

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.

Installing

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

Documentation is published to docs.rs. Help is also available on the Discord Projects Hub Discord server.

Examples

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.

Contact and Contributing

Reach out to the Discord Projects Hub on Discord and look for the smalld_rust channel.

Dependencies

~8MB
~235K SLoC