Skip to main content

Crate racetime

Crate racetime 

Source
Expand description

Utilities for creating chat bots for racetime.gg.

The main entry point is Bot::run. You can also create new race rooms using StartRace::start.

For documentation, see also https://github.com/racetimeGG/racetime-app/wiki/Category-bots.

§MSRV policy

This library is kept compatible with the version of Rust packaged in the latest stable release of Nixpkgs. MSRV bumps that follow this policy are not considered breaking changes.

Re-exports§

pub use crate::bot::Bot;
pub use crate::builder::BotBuilder;
pub use crate::handler::RaceHandler;

Modules§

bot
handler
model

Structs§

BotBuilder
HostInfo
StartRace

Enums§

AuthError
EditError
StartError

Functions§

authorize
Get an OAuth2 token from the authentication server.
authorize_with_host

Type Aliases§

UDuration
An unsigned duration. This is a reexport of std::time::Duration.