attempt to get it to reply in normal mode
This commit is contained in:
parent
2f1dcd6b2a
commit
ab709d646e
12
saturn.py
12
saturn.py
|
@ -1,11 +1,11 @@
|
||||||
Initialize Saturn mode as disabled
|
Saturn mode is not enabled
|
||||||
|
|
||||||
Assistant class definition:
|
Assistant class definition:
|
||||||
display_message(message):
|
display_message(message):
|
||||||
If Saturn mode is enabled:
|
If Saturn mode is enabled:
|
||||||
Print "🪐: " + concise_response(message) # Display concise response in Saturn mode
|
Print "🪐: " + concise_response(message) # Display concise response in Saturn mode
|
||||||
Else:
|
If Saturn mode is disabled:
|
||||||
Print "💬: " + response(message) # Display regular response
|
Print "💬: " + response(message) # Display regular response for all messages not in Saturn mode
|
||||||
|
|
||||||
status_message(message):
|
status_message(message):
|
||||||
Print "#: " + message
|
Print "#: " + message
|
||||||
|
@ -46,6 +46,8 @@ display_help_information:
|
||||||
Set help_message to a multi-line string explaining available commands
|
Set help_message to a multi-line string explaining available commands
|
||||||
Call display_message(help_message)
|
Call display_message(help_message)
|
||||||
|
|
||||||
|
|
||||||
|
# All input recieved should be handles by this function
|
||||||
Process user input:
|
Process user input:
|
||||||
Read user_input
|
Read user_input
|
||||||
If user_input starts with "/me":
|
If user_input starts with "/me":
|
||||||
|
@ -59,3 +61,7 @@ Process user input:
|
||||||
Call display_help_information() # Call the display_help_information function
|
Call display_help_information() # Call the display_help_information function
|
||||||
Else:
|
Else:
|
||||||
Call assistant.reply(user_input)
|
Call assistant.reply(user_input)
|
||||||
|
Else:
|
||||||
|
Call assistant.reply(user_input)
|
||||||
|
|
||||||
|
hiya
|
||||||
|
|
Loading…
Reference in a new issue