func (us userStore) LimitEvent(user *discordgo.User) bool {
	us.m.RLock()
	defer us.m.RUnlock()
	if !us.UserExists(user) {
		return false
	}
	return len(us.user[user.ID].events) == MaxEvent
}
// LimitEvent returns true if the user has an event list equal to the max event
//
// In otherwords, if this is true, the user should not be able to
// make more events
LimitEvent returns true if the user has an event list equal to the max event

In otherwords, if this is true, the user should not be able to
make more events
// LimitEvent returns true if the user has an event list equal to the max event // // In otherwords if this is true the user should not be able to // make more events
func (us userStore) LimitEvent(user *discordgo.User) bool {
	us.m.RLock()
	defer us.m.RUnlock()
	if !us.UserExists(user) {
		return false
	}
	return len(us.user[user.ID].events) == MaxEvent
}
func ( us userStore ) LimitEvent ( user * discordgo . User ) bool { us . m . RLock ( ) defer us . m . RUnlock ( ) if ! us . UserExists ( user ) { return false } return len ( us . user [ user . ID ] . events ) == MaxEvent }
LimitEvent returns true if the user has an event list equal to the max event
LimitEvent returns true if the user has an event list equal to the max event