|
|
@ -235,7 +235,7 @@ class GithubSubscribeService extends TcService {
|
|
|
|
const repo = event.repository.full_name;
|
|
|
|
const repo = event.repository.full_name;
|
|
|
|
const repoUrl = event.repository.html_url;
|
|
|
|
const repoUrl = event.repository.html_url;
|
|
|
|
const repoStarCount = event.repository.stargazers_count;
|
|
|
|
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);
|
|
|
|
await this.sendMessageToSubscribes(ctx, repo, message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|