[][src]Crate automate

Re-exports

pub use tokio;
pub use http::HttpAPI;
pub use gateway::GatewayAPI;
pub use gateway::Session;
pub use json::Nullable;

Modules

gateway
http
json

Macros

json

Creates a JSON string associating the given keys with the given values.

map

Creates a hashmap associating the given keys to the given values.

Structs

Discord

The struct used to register listeners, setup configuration and establish connection with Discord.

Error

Represents an error that occurred while using Automate library.

Snowflake

Traits

Listener

Trait with all the events a gateway may receive and transmit to the listeners.

Functions

setup_logging

Sets up a very basic logger that prints logs to stdout.

Attribute Macros

async_trait