func (us userStore) RemoveOffer(tradeID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []Offers
	for _, v := range us.user[user.ID].offer {
		if v.tradeID == tradeID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].offer = ret
}
// RemoveOffer removes an offer from user tracking after user
// unregisters from trade event
RemoveOffer removes an offer from user tracking after user
unregisters from trade event
// RemoveOffer removes an offer from user tracking after user // unregisters from trade event
func (us userStore) RemoveOffer(tradeID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []Offers
	for _, v := range us.user[user.ID].offer {
		if v.tradeID == tradeID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].offer = ret
}
func ( us userStore ) RemoveOffer ( tradeID string , user * discordgo . User ) { us . m . Lock ( ) defer us . m . Unlock ( ) var ret [ ] Offers for _ , v := range us . user [ user . ID ] . offer { if v . tradeID == tradeID { continue } ret = append ( ret , v ) } us . user [ user . ID ] . offer = ret }
RemoveOffer removes an offer from user tracking after user
unregisters from trade event
RemoveOffer removes an offer from user tracking after user unregisters from trade event