func (us userStore) RemoveQueue(eventID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []tQueue
	for _, v := range us.user[user.ID].queues {
		if v.eventID == eventID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].queues = ret
}
// RemoveQueue will remove an item from the queue slice
RemoveQueue will remove an item from the queue slice
// RemoveQueue will remove an item from the queue slice
func (us userStore) RemoveQueue(eventID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []tQueue
	for _, v := range us.user[user.ID].queues {
		if v.eventID == eventID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].queues = ret
}
func ( us userStore ) RemoveQueue ( eventID string , user * discordgo . User ) { us . m . Lock ( ) defer us . m . Unlock ( ) var ret [ ] tQueue for _ , v := range us . user [ user . ID ] . queues { if v . eventID == eventID { continue } ret = append ( ret , v ) } us . user [ user . ID ] . queues = ret }
RemoveQueue will remove an item from the queue slice
RemoveQueue will remove an item from the queue slice