diff --git a/src/main.rs b/src/main.rs index bec1540..ec0e58d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ // For secure credential handling use dotenvy::dotenv; +use poise::serenity_prelude::ActivityData; // Poise and Serenity - Framework and API prelude use poise::serenity_prelude as serenity; @@ -117,6 +118,7 @@ async fn main() { // Build client let mut client = serenity::ClientBuilder::new(token, intents) .framework(framework) + .activity(ActivityData::custom(format!("Version {}!", env!("CARGO_PKG_VERSION")))) .await .unwrap_or_else(|e| { error!("Building client failed: {}", e);