mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 00:38:54 +00:00
Explicitly install osu as all contexts
This commit is contained in:
parent
aa2ee0cc86
commit
fd9f3a507d
1 changed files with 3 additions and 1 deletions
|
@ -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(())
|
||||||
|
|
Loading…
Add table
Reference in a new issue