From 597f051db09f1ef377590776be16ba1e9929cb7b Mon Sep 17 00:00:00 2001 From: AnnsAnn Date: Sat, 16 Mar 2024 14:59:21 +0100 Subject: [PATCH] Register commands globally again --- sphene_config/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphene_config/src/main.rs b/sphene_config/src/main.rs index 8391bcf..653f647 100644 --- a/sphene_config/src/main.rs +++ b/sphene_config/src/main.rs @@ -130,7 +130,7 @@ async fn main() { .intents(serenity::GatewayIntents::non_privileged()) .setup(|ctx, _ready, framework| { Box::pin(async move { - poise::builtins::register_in_guild(ctx, &framework.options().commands, poise::serenity_prelude::GuildId(644875066982793216)).await?; + poise::builtins::register_globally(ctx, &framework.options().commands).await?; Ok(Data { db: dbconn }) }) });