add comments to clarify for the assitant
This commit is contained in:
parent
6aba4a0b5f
commit
26693f819c
16
saturn.py
16
saturn.py
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue