From dcfb01344789bee67817b076cfa491078fbb904f Mon Sep 17 00:00:00 2001 From: qwerinope Date: Tue, 24 Jun 2025 18:39:44 +0200 Subject: [PATCH] fix yabai chances --- bot/commands/yabai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/commands/yabai.ts b/bot/commands/yabai.ts index f4a38e4..74e6921 100644 --- a/bot/commands/yabai.ts +++ b/bot/commands/yabai.ts @@ -6,7 +6,7 @@ export default new Command('yabai', ['yabai', 'goon'], ['moderator:manage:banned_users'], async (msg, user) => { - const rand = Math.floor(Math.random() * 100) + 1; + const rand = Math.floor(Math.random() * 101); if (rand < 25) sendMessage(`${rand}% yabai! GIGACHAD`, msg.messageId); else if (rand < 50) sendMessage(`${rand}% yabai POGGERS`, msg.messageId); else if (rand === 50) sendMessage(`${rand}% yabai ok`, msg.messageId);