From 22651c74bf86f7c603c7d4d6cd0fbbd0835e5f6c Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Tue, 27 Jun 2023 15:34:46 +0800 Subject: [PATCH] perf: beautify github repo star message with emoji --- server/plugins/com.msgbyte.github/services/subscribe.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins/com.msgbyte.github/services/subscribe.service.ts b/server/plugins/com.msgbyte.github/services/subscribe.service.ts index 13e6c751..48cebe0e 100644 --- a/server/plugins/com.msgbyte.github/services/subscribe.service.ts +++ b/server/plugins/com.msgbyte.github/services/subscribe.service.ts @@ -235,7 +235,7 @@ class GithubSubscribeService extends TcService { const repo = event.repository.full_name; const repoUrl = event.repository.html_url; const repoStarCount = event.repository.stargazers_count; - const message = `[url=${userUrl}]${name}[/url] starred [url=${repoUrl}]${repo}[/url](total ${repoStarCount} stargazers)`; + const message = `:tada: [url=${userUrl}]${name}[/url] starred [url=${repoUrl}]${repo}[/url](total ${repoStarCount} stargazers)`; await this.sendMessageToSubscribes(ctx, repo, message); } }