Update Webhook.py

This commit is contained in:
Wendy Liga
2024-01-13 09:04:50 +07:00
committed by GitHub
parent adf9ccbea2
commit d46f530b05

View File

@@ -10,6 +10,7 @@ class Webhook(object):
def __init__(self, endpoint: str, method: str, events: list):
self.endpoint = endpoint
self.method = method
self.events = [str(e) for e in events]
def send(self, message: str, event: Events) -> None: