mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 18:50:13 +00:00
feat(stats): push guild count to bot status
This commit is contained in:
parent
d1d0faaa7e
commit
c547901e00
4 changed files with 35 additions and 2 deletions
|
|
@ -11,7 +11,13 @@ import (
|
|||
"github.com/getsentry/sentry-go"
|
||||
)
|
||||
|
||||
var set_guild_count = false
|
||||
|
||||
func main() {
|
||||
if _, ok := os.LookupEnv("SET_GUILD_COUNT"); ok {
|
||||
set_guild_count = true
|
||||
}
|
||||
|
||||
err := sentry.Init(sentry.ClientOptions{
|
||||
Dsn: os.Getenv("SENTRY_DSN"),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue