txlyre 6 months ago
parent
commit
aaff6c254c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      commands.py

+ 4 - 0
commands.py

@@ -320,6 +320,10 @@ async def markov_handler(bot, event, command):
     elif command.args[0] == "unready":
         bot.markov.chain = None
 
+        await event.reply("Готово!~~")
+    elif command.args[0] == "save":
+        bot.markov.save()
+
         await event.reply("Готово!~~")
     else:
         await event.reply("Некорректный синтаксис команды!!!")