From 8e430ef78ec7ee22a146ad9c4142ac577144ce7e Mon Sep 17 00:00:00 2001 From: minneelyyyy Date: Thu, 10 Oct 2024 16:57:49 -0400 Subject: [PATCH] change default value for yeehaw from 0 to 1 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c2e357f..ae7103d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ async fn dox( #[poise::command(slash_command)] async fn yeehaw(ctx: Context<'_>, count: Option) -> Result<(), Error> { ctx.reply(iter::repeat("\u{1F920}") - .take(count.unwrap_or(0) as usize) + .take(count.unwrap_or(1) as usize) .collect::>() .join("\n")).await?; Ok(())