no more dms
This commit is contained in:
parent
e5fe7a5378
commit
6683cef920
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ use crate::{Context, Error};
|
|||
use crate::commands::{command_helper, helpstart};
|
||||
use std::string::String;
|
||||
|
||||
#[poise::command(slash_command)]
|
||||
#[poise::command(slash_command,guild_only)]
|
||||
pub(crate) async fn bots(
|
||||
ctx: Context<'_>,
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ use crate::commands::command_helper;
|
|||
|
||||
static mut BOTS_AVAILABLE: u8 = 0;
|
||||
|
||||
#[poise::command(slash_command)]
|
||||
#[poise::command(slash_command,guild_only)]
|
||||
pub(crate) async fn helpstart(
|
||||
ctx: Context<'_>,
|
||||
|
||||
|
@ -27,7 +27,7 @@ pub(crate) async fn helpstart(
|
|||
};
|
||||
format!(
|
||||
"<@&1008075054971621448>\nneed: {}"
|
||||
, (needed_players - bots)
|
||||
, needed_players - bots
|
||||
)
|
||||
};
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ pub enum Difficulty {
|
|||
#[name = "R.I.P."]
|
||||
Rip,
|
||||
}
|
||||
#[poise::command(slash_command)]
|
||||
#[poise::command(slash_command,guild_only)]
|
||||
pub(crate) async fn lfg(
|
||||
ctx: Context<'_>,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue