From 7083f0a10cbe3eb215dcc761546b2e08e7f49e4a Mon Sep 17 00:00:00 2001 From: Aidan Date: Tue, 27 May 2025 23:00:15 -0400 Subject: [PATCH] KOW-4 [m] /random should pick 1-10, not 1-11 --- src/commands/fun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/fun.ts b/src/commands/fun.ts index c18d460..c394241 100644 --- a/src/commands/fun.ts +++ b/src/commands/fun.ts @@ -63,7 +63,7 @@ function getRandomInt(max: number) { export default (bot: Telegraf) => { bot.command('random', spamwatchMiddleware, async (ctx: Context & { message: { text: string } }) => { const Strings = getStrings(languageCode(ctx)); - const randomValue = getRandomInt(11); + const randomValue = getRandomInt(10); const randomVStr = Strings.randomNum.replace('{number}', randomValue); ctx.reply(