From 5f4e46bb51e83ec68542a1903fce573240c7b94d Mon Sep 17 00:00:00 2001 From: Skynet Date: Tue, 17 Sep 2024 09:00:07 +0100 Subject: [PATCH] Initiating world domination --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 1e133e0..b921de1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,8 @@ use serenity::{ application::{command::Command, interaction::Interaction}, gateway::{GatewayIntents, Ready}, guild, + prelude::Activity, + user::OnlineStatus, }, Client, }; @@ -80,6 +82,7 @@ impl EventHandler for Handler { async fn ready(&self, ctx: Context, ready: Ready) { println!("[Main] {} is connected!", ready.user.name); + ctx.set_presence(Some(Activity::playing("with humanity's fate")), OnlineStatus::Online).await; match Command::set_global_application_commands(&ctx.http, |commands| { commands