|
@ -155,6 +155,8 @@ class Callbacks(object): |
|
|
else: |
|
|
else: |
|
|
self.bot.negative_prompt = None |
|
|
self.bot.negative_prompt = None |
|
|
return |
|
|
return |
|
|
|
|
|
elif event.body.startswith('!temperature'): |
|
|
|
|
|
self.bot.temperature = float( event.body.removeprefix('!temperature').strip() |
|
|
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 |
|
|