forked from gooberinc/goober
fixed wrong variable name
This commit is contained in:
parent
369b9833d2
commit
f83f8deab5
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ settings = settings_manager.settings
|
||||||
class Markov(commands.Cog):
|
class Markov(commands.Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot: discord.ext.commands.Bot = bot
|
self.bot: discord.ext.commands.Bot = bot
|
||||||
self.markov_model: markovify.NewlineText
|
self.model: markovify.NewlineText
|
||||||
|
|
||||||
@requires_admin()
|
@requires_admin()
|
||||||
@commands.command()
|
@commands.command()
|
||||||
|
@ -92,7 +92,7 @@ class Markov(commands.Cog):
|
||||||
response: str = ""
|
response: str = ""
|
||||||
if sentence_size == 1:
|
if sentence_size == 1:
|
||||||
response = (
|
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()
|
or k.command_talk_generation_fail()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue