feat: change joke ratio to be less frequent
This commit is contained in:
parent
9a656c7329
commit
54b4dc9a13
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
match msg.reply(ctx.http(), "Povedz loď").await {
|
||||||
Ok(_) => {},
|
Ok(_) => {},
|
||||||
Err(e) => send_error(ctx.http.clone(), e.to_string()).await
|
Err(e) => send_error(ctx.http.clone(), e.to_string()).await
|
||||||
|
|
Loading…
Reference in a new issue