mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-06 09:51:24 +02:00
echo
echo command will just echo, off by default its handy for things like making a demo or node speak
This commit is contained in:
@@ -230,6 +230,7 @@ try:
|
||||
llmReplyToNonCommands = config['general'].getboolean('llmReplyToNonCommands', True)
|
||||
dont_retry_disconnect = config['general'].getboolean('dont_retry_disconnect', False) # default False, retry on disconnect
|
||||
favoriteNodeList = config['general'].get('favoriteNodeList', '').split(',')
|
||||
enableEcho = config['general'].getboolean('enableEcho', False) # default False, undocumented
|
||||
|
||||
# emergency response
|
||||
emergency_responder_enabled = config['emergencyHandler'].getboolean('enabled', False)
|
||||
|
||||
@@ -26,6 +26,12 @@ if ping_enabled:
|
||||
trap_list = trap_list + trap_list_ping
|
||||
help_message = help_message + "ping"
|
||||
|
||||
# Echo Configuration
|
||||
if enableEcho:
|
||||
trap_list_echo = ("echo",)
|
||||
trap_list = trap_list + trap_list_echo
|
||||
help_message = help_message + ", echo"
|
||||
|
||||
# Sitrep Configuration
|
||||
if sitrep_enabled:
|
||||
trap_list_sitrep = ("sitrep", "lheard", "sysinfo")
|
||||
|
||||
Reference in New Issue
Block a user