|
|
|
@ -299,8 +299,7 @@ func (b *Type) handleUserPrivacy(ds *discordgo.Session, dm *discordgo.Message, c
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
uu.Privacy = upSet(uu.Privacy, userPrivacyFromString(pp))
|
|
|
|
uu.Privacy = upSet(uu.Privacy, userPrivacyFromString(pp))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// XXX
|
|
|
|
pr := strings.Title(pa) + " " + pp + ". Privacy mode: "
|
|
|
|
pr := strings.ToTitle(pa) + " " + pp + ". Privacy mode: "
|
|
|
|
|
|
|
|
if uu.Privacy == userPrivacyAll {
|
|
|
|
if uu.Privacy == userPrivacyAll {
|
|
|
|
pr += userPrivacyAll.String()
|
|
|
|
pr += userPrivacyAll.String()
|
|
|
|
} else if uu.Privacy == userPrivacyNone {
|
|
|
|
} else if uu.Privacy == userPrivacyNone {
|
|
|
|
|