Explicitly install osu as all contexts

This commit is contained in:
Natsu Kagami 2025-01-03 14:10:55 +01:00 committed by Natsu Kagami
parent aa2ee0cc86
commit fd9f3a507d

View file

@ -23,7 +23,9 @@ use serenity::all::User;
"ranks", "ranks",
"leaderboard", "leaderboard",
"clear_cache" "clear_cache"
) ),
install_context = "Guild|User",
interaction_context = "Guild|BotDm|PrivateChannel"
)] )]
pub async fn osu<U: HasOsuEnv>(_ctx: CmdContext<'_, U>) -> Result<()> { pub async fn osu<U: HasOsuEnv>(_ctx: CmdContext<'_, U>) -> Result<()> {
Ok(()) Ok(())