Skip to content

Commit

Permalink
Register commands globally again
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns committed Mar 16, 2024
1 parent f9f63de commit 597f051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphene_config/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
})
});
Expand Down

0 comments on commit 597f051

Please sign in to comment.