feat: change joke ratio to be less frequent

This commit is contained in:
Ladislav Hano 2024-10-02 21:54:26 +02:00
parent fb0322cbbb
commit 86d267b0af

View file

@ -47,7 +47,7 @@ pub async fn handle(ctx: Context, msg: Message) {
}
if random::<u16>() % 1000 == 666 {
if random::<u16>() % 10000 == 666 {
match msg.reply(ctx.http(), "Povedz loď").await {
Ok(_) => {},
Err(e) => send_error(ctx.http.clone(), e.to_string()).await