mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-03 06:42:19 +00:00
Only report to mastodon Mondays
This commit is contained in:
parent
003efe910e
commit
533cde2eaf
4 changed files with 74 additions and 29 deletions
|
@ -29,7 +29,7 @@ func postToMastodon(metrics []metric) {
|
|||
startOfDay := getStartofDay()
|
||||
msg := fmt.Sprintf("Weekly user counts @ %d-%d-%d :laserkiwi:\n\n", startOfDay.Year(), startOfDay.Month(), startOfDay.Day())
|
||||
for _, m := range metrics {
|
||||
msg = msg + getPrintableString(m) + "\n"
|
||||
msg = msg + getPrintableString(m, true) + "\n"
|
||||
}
|
||||
msg = msg + "\n\n" + "#WeeklyStats"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue