mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 12:06:23 +03:00
Дописал отправку сообщения через телеграм
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from threading import Thread
|
||||
import triggers
|
||||
import actions
|
||||
import db_routing
|
||||
|
||||
|
||||
@@ -15,7 +16,7 @@ class Executor(Thread):
|
||||
def execute(self):
|
||||
trigger = getattr(triggers, self.trigger_def)
|
||||
trigger(self.trigger_args)
|
||||
action = getattr(triggers, self.action_def)
|
||||
action = getattr(actions, self.action_def)
|
||||
action(self.action_args)
|
||||
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user