fix(stats): typo

This commit is contained in:
spiral 2022-12-06 11:06:32 +00:00
parent c547901e00
commit 971b89e201
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -83,9 +83,9 @@ func update_bot_status() {
guild_count, _ := get_discord_counts()
p := message.NewPrinter(language.English)
s := p.Sprintf("%d\n", guild_count)
s := p.Sprintf("%d", guild_count)
cmd := rdb.Set(context.Background(), "discord_botstatus", "in "+s+" servers", 0)
cmd := rdb.Set(context.Background(), "pluralkit:botstatus", "in "+s+" servers", 0)
if err := cmd.Err(); err != nil {
panic(err)
}