From 198781ceac534ac7efcd73a3a223d94125b2fd35 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 2 Jul 2023 20:56:50 +0800 Subject: [PATCH] refactor: change emoji format --- 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 48cebe0e..b9f011a4 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 = `:tada: [url=${userUrl}]${name}[/url] starred [url=${repoUrl}]${repo}[/url](total ${repoStarCount} stargazers)`; + const message = `[emoji]tada[/emoji] [url=${userUrl}]${name}[/url] starred [url=${repoUrl}]${repo}[/url](total ${repoStarCount} stargazers)`; await this.sendMessageToSubscribes(ctx, repo, message); } }