titanium-rs 0.1.1

The ultimate high-performance Discord API framework for Rust
Documentation

Titanium - The ultimate high-performance Discord API framework.

This crate provides a high-level wrapper around the Titanium ecosystem:

  • titanium-gateway: WebSocket connection management
  • titanium-http: REST API client
  • titanium-model: Discord data models
  • titanium-cache: In-memory caching
  • titanium-voice: Voice support

Example

use titanium_rs::prelude::*;

#[tokio::main]
async fn main() {
    let client = Client::builder("TOKEN")
        .intents(Intents::GUILD_MESSAGES | Intents::MESSAGE_CONTENT)
        .build()
        .await
        .unwrap();

    client.start().await.unwrap();
}