use panda::models::{Activity, ActivityKind, StatusUpdate}; #[tokio::main] async fn main() -> Result<(), Box> { let mut client = panda::new("your token here").await?; // Change status when bot is ready and connected client.on_ready(|s, _| async move { // Create a new status struct let mut status = StatusUpdate::new(); // Create a new activity let activity = Activity::new(ActivityKind::Listening, "!help"); // Add activity to the new status status.set_activity(activity); // Update the status s.update_status(status).await?; Ok(()) }); // Start the bot client.start().await?; Ok(()) }