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.

Re-exports§

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

Modules§

bot
handler
model

Structs§

BotBuilder
HostInfo
StartRace

Enums§

Error

Traits§

ResultExt
A convenience trait for converting results to use this crate’s Error type.

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.