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(