We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a64910 commit 9ba5ceeCopy full SHA for 9ba5cee
src/adapters/discord/commands/bake.rs
@@ -22,8 +22,7 @@ pub async fn bake(
22
return Ok(());
23
}
24
25
- let n = ctx.data().queue.size(&guild_id).await.min(amount);
26
- let baked = ctx.data().queue.pop_n(&guild_id, n).await;
+ let baked = ctx.data().queue.pop_n(&guild_id, amount).await;
27
28
let message = if baked.is_empty() {
29
"😟 Ingen å steke vafler til.".to_string()
0 commit comments