disregard votes

This commit is contained in:
Dot-Rar 2020-02-09 15:11:05 +00:00
parent bcb1ea5ad3
commit 6fe3867434

View File

@ -61,8 +61,9 @@ func IsPremiumGuild(store sessions.Session, guildIdRaw string, ch chan bool) {
go redis.Client.StoreGuild(g)
}
// TODO: Find a way to stop people using votes to exploit panels
// Lookup votes
ownerId, err := strconv.ParseInt(ownerIdRaw, 10, 64); if err != nil {
/*ownerId, err := strconv.ParseInt(ownerIdRaw, 10, 64); if err != nil {
fmt.Println(err.Error())
ch <- false
return
@ -78,7 +79,7 @@ func IsPremiumGuild(store sessions.Session, guildIdRaw string, ch chan bool) {
}
return
}
}*/
// Lookup Patreon
client := &http.Client{