Skip to content

Commit 85d15fe

Browse files
committed
fix(playmatch): remove checks from suggestion commands
1 parent 96ab0e9 commit 85d15fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/command/playmatch.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub async fn get_game_metadata(
201201
}
202202

203203
/// Creates a metadata match suggestion for a Game by hashes or name to the IGDB database.
204-
#[poise::command(slash_command, category = "Playmatch", rename = "game", check = is_user_trusted_or_above)]
204+
#[poise::command(slash_command, category = "Playmatch", rename = "game")]
205205
pub async fn create_game_suggestion(
206206
ctx: CommandContext<'_>,
207207
igdb_id: i64,
@@ -311,7 +311,7 @@ pub async fn create_game_suggestion(
311311
}
312312

313313
/// Creates a metadata match suggestion for a Company by name to the IGDB database.
314-
#[poise::command(slash_command, category = "Playmatch", rename = "company", check = is_user_trusted_or_above)]
314+
#[poise::command(slash_command, category = "Playmatch", rename = "company")]
315315
pub async fn create_company_suggestion(
316316
ctx: CommandContext<'_>,
317317
igdb_id: i64,
@@ -391,7 +391,7 @@ pub async fn create_company_suggestion(
391391
}
392392

393393
/// Creates a metadata match suggestion for a Platform by name to the IGDB database.
394-
#[poise::command(slash_command, category = "Playmatch", rename = "platform", check = is_user_trusted_or_above)]
394+
#[poise::command(slash_command, category = "Playmatch", rename = "platform")]
395395
pub async fn create_platform_suggestion(
396396
ctx: CommandContext<'_>,
397397
igdb_id: i64,

0 commit comments

Comments
 (0)