mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-22 21:35:44 -05:00
Merge pull request #28 from Brottweiler/patch-1
Tweak grammar when no users are in mumble
This commit is contained in:
commit
df2a477147
@ -259,7 +259,7 @@ func (b *BridgeState) DiscordStatusUpdate() {
|
|||||||
b.MumbleUserCount = b.MumbleUserCount - 1
|
b.MumbleUserCount = b.MumbleUserCount - 1
|
||||||
}
|
}
|
||||||
if b.MumbleUserCount == 0 {
|
if b.MumbleUserCount == 0 {
|
||||||
status = "No users in Mumble"
|
status = "no users in Mumble"
|
||||||
} else {
|
} else {
|
||||||
if len(b.MumbleUsers) > 0 {
|
if len(b.MumbleUsers) > 0 {
|
||||||
status = fmt.Sprintf("%v/%v users in Mumble\n", len(b.MumbleUsers), b.MumbleUserCount)
|
status = fmt.Sprintf("%v/%v users in Mumble\n", len(b.MumbleUsers), b.MumbleUserCount)
|
||||||
|
Loading…
Reference in New Issue
Block a user