summary refs log tree commit diff
diff options
context:
space:
mode:
authorCyber <cyber.hf18@gmail.com>2025-12-02 21:21:02 +0100
committerGitHub <noreply@github.com>2025-12-02 21:21:02 +0100
commit9ce07b71eff75fb5206ce4e7b25e9574fe18ad32 (patch)
treeae0c68cb424c3fe0feaa16803ac4f164c4837bb4
parentcreateMessageWithDefaults: unset member (diff)
parentfix: github webhok username and avatar are now more in-line with discord (diff)
downloadserver-ts-9ce07b71eff75fb5206ce4e7b25e9574fe18ad32.tar.xz
Merge pull request #1420 from CyberL1/fix/gh-embeds-username-and-avatar
-rw-r--r--src/api/routes/webhooks/#webhook_id/#token/github.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/webhooks/#webhook_id/#token/github.ts b/src/api/routes/webhooks/#webhook_id/#token/github.ts

index 5baf4e7b..68fe7c04 100644 --- a/src/api/routes/webhooks/#webhook_id/#token/github.ts +++ b/src/api/routes/webhooks/#webhook_id/#token/github.ts
@@ -13,8 +13,8 @@ const parseGitHubWebhook = (req: Request, res: Response, next: NextFunction) => } const discordPayload: WebhookExecuteSchema = { - username: "Github", - avatar_url: "https://github.com/Github.png", + username: "GitHub", + avatar_url: "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png", }; switch (eventType) {