txlyre 6 meses atrás
pai
commit
592cd4e43c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      commands.py

+ 1 - 1
commands.py

@@ -661,7 +661,7 @@ async def say_handler(bot, event, command):
     if not bot.markov.is_ready:
         await event.reply("Генератор текста ещё не готов к использованию. Пожалуйста, попробуйте чуть позже.")
     else:
-        await markov_say(bot, peer_id)
+        await markov_say(bot, get_peer_id(event.peer_id))
 
 
 COMMANDS = {