1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-22 21:35:44 -05:00

Tweak grammar when no users are in mumble

The former capitalized "No" looks bad since the bot adds "Listening to" before it.
This commit is contained in:
Christoffer Tibell 2021-12-05 13:40:50 +01:00 committed by GitHub
parent 52ea304bd1
commit 682887b936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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