From a7599f55e104d7fcdeb8e384da264f47c91ff86c Mon Sep 17 00:00:00 2001 From: Ethan Ruszanowski Date: Fri, 27 Jan 2023 14:26:58 -0500 Subject: [PATCH] Set activity status and fix command reg --- src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e3f24a7..df2bb9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ -mod commands; - use poise::serenity_prelude as serenity; +mod commands; + struct Data {} type Error = Box; @@ -29,6 +29,9 @@ async fn main() { ), ) .await?; // Update slash commands in GID + + ctx.set_activity(serenity::Activity::playing("SMITE")).await; + Ok(Data {}) }) });