From 0b0888e9a8e89c36f2c8a282d9e82a15611ed0d7 Mon Sep 17 00:00:00 2001 From: minneelyyyy Date: Tue, 10 Dec 2024 15:36:36 -0500 Subject: [PATCH] remove unecessary #[min = 1] --- src/commands/gambling/shop.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/gambling/shop.rs b/src/commands/gambling/shop.rs index 59d48cd..08df0be 100644 --- a/src/commands/gambling/shop.rs +++ b/src/commands/gambling/shop.rs @@ -39,7 +39,6 @@ async fn autocomplete_shop<'a>( pub async fn buy(ctx: Context<'_>, #[autocomplete = "autocomplete_shop"] item: String, - #[min = 1] count: Option) -> Result<(), Error> { let count = count.unwrap_or(1);