From e1091bb0c91011eae3e6f380fe4d990a74628158 Mon Sep 17 00:00:00 2001 From: arl Date: Wed, 12 Jan 2022 10:53:14 -0500 Subject: [PATCH] fix: use the stable endpoint to avoid downtime discord canary sometimes is down change the status embed to use stable so canary changes don't affect the worker --- github_status_embed/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_status_embed/types.py b/github_status_embed/types.py index 634e441..fbff7e4 100644 --- a/github_status_embed/types.py +++ b/github_status_embed/types.py @@ -186,7 +186,7 @@ def token(self) -> str: @property def url(self) -> str: """Return the endpoint to execute this webhook.""" - return f"https://canary.discord.com/api/webhooks/{self.id}/{self.token}" + return f"https://discord.com/api/webhooks/{self.id}/{self.token}" @dataclasses.dataclass(frozen=True)