Hendrik Langer 2 years ago
parent
commit
4c222e59fe
  1. 1
      matrix_pygmalion_bot/core.py

1
matrix_pygmalion_bot/core.py

@ -151,6 +151,7 @@ class Callbacks(object):
self.bot.negative_prompt = negative_prompt self.bot.negative_prompt = negative_prompt
else: else:
self.bot.negative_prompt = None self.bot.negative_prompt = None
return
elif event.body.startswith('!begin'): elif event.body.startswith('!begin'):
self.bot.chat_history.room(room.display_name).clear() self.bot.chat_history.room(room.display_name).clear()
self.bot.room_config[room.room_id]["tick"] = 0 self.bot.room_config[room.room_id]["tick"] = 0

Loading…
Cancel
Save