change default value for yeehaw from 0 to 1

This commit is contained in:
2024-10-10 16:57:49 -04:00
parent 91d1d1aef7
commit 8e430ef78e

View File

@@ -92,7 +92,7 @@ async fn dox(
#[poise::command(slash_command)]
async fn yeehaw(ctx: Context<'_>, count: Option<u8>) -> Result<(), Error> {
ctx.reply(iter::repeat("\u{1F920}")
.take(count.unwrap_or(0) as usize)
.take(count.unwrap_or(1) as usize)
.collect::<Vec<&str>>()
.join("\n")).await?;
Ok(())