implemented dummy stuff this time with execution
This commit is contained in:
parent
a38f99c5a0
commit
d55b3062e8
@ -14,6 +14,7 @@ def is_command(command:str)->bool:
|
|||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@api.route('/api/v1/exec', methods=['GET'])
|
||||||
def handle_command(command, rest):
|
def handle_command(command, rest):
|
||||||
if command == "!echo":
|
if command == "!echo":
|
||||||
message = "Got payload [%s]" % rest
|
message = "Got payload [%s]" % rest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user