use preferred status

This commit is contained in:
stryan 2021-01-19 14:06:19 -05:00
parent 3b73e89ae7
commit 0098a1d84a

View File

@ -186,7 +186,7 @@ func (b *BridgeState) discordStatusUpdate() {
b.MumbleUserCount = b.MumbleUserCount - 1
}
if b.MumbleUserCount == 0 {
status = "No users in Mumble"
status = ""
} else {
if len(b.MumbleUsers) > 0 {
status = fmt.Sprintf("%v/%v users in Mumble\n", len(b.MumbleUsers), b.MumbleUserCount)