From f83f8deab5da9b38dc08c767c8c0de39f08ad469 Mon Sep 17 00:00:00 2001 From: ctih1 Date: Fri, 25 Jul 2025 10:46:10 +0300 Subject: [PATCH] fixed wrong variable name --- assets/cogs/internal/markov.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/cogs/internal/markov.py b/assets/cogs/internal/markov.py index e5ac445..f3d7488 100644 --- a/assets/cogs/internal/markov.py +++ b/assets/cogs/internal/markov.py @@ -32,7 +32,7 @@ settings = settings_manager.settings class Markov(commands.Cog): def __init__(self, bot): self.bot: discord.ext.commands.Bot = bot - self.markov_model: markovify.NewlineText + self.model: markovify.NewlineText @requires_admin() @commands.command() @@ -92,7 +92,7 @@ class Markov(commands.Cog): response: str = "" if sentence_size == 1: response = ( - self.model.make_short_sentence(max_chars=100, tries=100) + self.model.make_short_sentence(max_chars=100, tries=700) or k.command_talk_generation_fail() )