generate 3 markov sentences (fix)
This commit is contained in:
parent
13456f5e0d
commit
f4149cabd4
@ -96,7 +96,7 @@ class CyberLinaBotModuleConfig(TelegramBotModuleConfig):
|
||||
seed(os.urandom(128))
|
||||
markov_msg = ''
|
||||
for i in range(3):
|
||||
markov_msg += self.markovify.make_short_sentence(tries=100) + ' '
|
||||
markov_msg += (self.markovify.make_sentence(tries=100) or '') + ' '
|
||||
results = [
|
||||
InlineQueryResultArticle(
|
||||
id=uuid4(),
|
||||
|
Loading…
Reference in New Issue
Block a user