func (us userStore) RemoveTrade(tradeID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []Trades
	for _, v := range us.user[user.ID].trades {
		if v.tradeID == tradeID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].trades = ret
}
// RemoveTrade removes a trade event from tracking
RemoveTrade removes a trade event from tracking
// RemoveTrade removes a trade event from tracking
func (us userStore) RemoveTrade(tradeID string, user *discordgo.User) {
	us.m.Lock()
	defer us.m.Unlock()
	var ret []Trades
	for _, v := range us.user[user.ID].trades {
		if v.tradeID == tradeID {
			continue
		}
		ret = append(ret, v)
	}
	us.user[user.ID].trades = ret
}
func ( us userStore ) RemoveTrade ( tradeID string , user * discordgo . User ) { us . m . Lock ( ) defer us . m . Unlock ( ) var ret [ ] Trades for _ , v := range us . user [ user . ID ] . trades { if v . tradeID == tradeID { continue } ret = append ( ret , v ) } us . user [ user . ID ] . trades = ret }
RemoveTrade removes a trade event from tracking
RemoveTrade removes a trade event from tracking