mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-02 14:22: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
|
@ -22,7 +22,7 @@ func sendToMatrix(m []metric) {
|
|||
startOfDay := getStartofDay()
|
||||
sendMatrixWebhook(fmt.Sprintf("*User counts for %s*", startOfDay.String()), MATRIX_WEBHOOK_CHANNEL)
|
||||
for _, m := range m {
|
||||
sendMatrixWebhook(getPrintableString(m), MATRIX_WEBHOOK_CHANNEL)
|
||||
sendMatrixWebhook(getPrintableString(m, false), MATRIX_WEBHOOK_CHANNEL)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue