v2 Standalone Docker Update #40
@ -14,6 +14,7 @@ def is_command(command:str)->bool:
|
||||
else:
|
||||
return False
|
||||
|
||||
@api.route('/api/v1/exec', methods=['GET'])
|
||||
def handle_command(command, rest):
|
||||
if command == "!echo":
|
||||
message = "Got payload [%s]" % rest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user