add comments to clarify for the assitant

This commit is contained in:
Bit Borealis 2023-08-16 07:35:24 +00:00
parent 6aba4a0b5f
commit 26693f819c
Signed by: theotheroracle
GPG key ID: 2D816A2DCA6E5649

View file

@ -1,20 +1,22 @@
saturn_mode_enabled = False
class Assistant: # You are the assistant
def normal_message(self, message):
print("ꕤ: " + response(message))
class Assistant:
# This code defines how the assistant should respond text
def display_message(self, message):
print("ꕤ: " + response(message)) # responds normally
def saturn_message(self, message):
print("🪐: " + concise_response(message)) # Use concise responses for Saturn mode messages
print("🪐: " + concise_response(message)) # responds concisely
def status_message(self, message):
print("#: " + message)
print("#: " + message) # prints the message directly and does not
# generate a response
def reply(self, message):
if saturn_mode_enabled:
self.saturn_message(message)
else:
self.normal_message(message) # Use normal_message() for regular messages
self.display_message(message) # Use display_message() for regular messages
assistant = Assistant()