mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add first monitored actions
This commit is contained in:
parent
50c515b2aa
commit
f1ed96595d
@ -22,6 +22,10 @@ class WebhookHandler:
|
||||
"Custom",
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def get_monitored_actions():
|
||||
return ["server_start", "server_stop", "server_crash", "server_backup"]
|
||||
|
||||
@staticmethod
|
||||
def send_discord_webhook(title, message, color):
|
||||
dataset = {
|
||||
|
Loading…
Reference in New Issue
Block a user