@ -34,7 +34,9 @@ func GetTrust(s *discordgo.Session, discordID string) (float64, error) {
if err != nil {
return 0.0, err
}
votes = append(votes, 3)
if len(votes) == 0 {
return 0.0, nil
var total float64
for _, v := range votes {
total += float64(v)