func printTradeList(offers []models.TradeOfferer, cmdInfo CommandInfo, tradeID string) {
	var fields []*discordgo.MessageEmbedField
	for _, o := range offers {
		fields = append(fields, createFields(o.User.String(), o.Offer, true))
	}
	for i := 0; i < len(fields); i += 15 {
		j := i + 15
		if j > len(fields) {
			j = len(fields)
		}
		msg := cmdInfo.createMsgEmbed("Total Offers", tradeThumbURL, "TradeID: "+tradeID, tradeColor, fields[i:j])
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
	}
}
// printTradeList handles printing large amounts of trade offers (since trade offers has no limit)
printTradeList handles printing large amounts of trade offers (since trade offers has no limit)
// printTradeList handles printing large amounts of trade offers ( since trade offers has no limit )
func printTradeList(offers []models.TradeOfferer, cmdInfo CommandInfo, tradeID string) {
	var fields []*discordgo.MessageEmbedField
	for _, o := range offers {
		fields = append(fields, createFields(o.User.String(), o.Offer, true))
	}
	for i := 0; i < len(fields); i += 15 {
		j := i + 15
		if j > len(fields) {
			j = len(fields)
		}
		msg := cmdInfo.createMsgEmbed("Total Offers", tradeThumbURL, "TradeID: "+tradeID, tradeColor, fields[i:j])
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
	}
}
func printTradeList ( offers [ ] models . TradeOfferer , cmdInfo CommandInfo , tradeID string ) { var fields [ ] * discordgo . MessageEmbedField for _ , o := range offers { fields = append ( fields , createFields ( o . User . String ( ) , o . Offer , true ) ) } for i := 0 ; i < len ( fields ) ; i += 15 { j := i + 15 if j > len ( fields ) { j = len ( fields ) } msg := cmdInfo . createMsgEmbed ( " " , tradeThumbURL , " " + tradeID , tradeColor , fields [ i : j ] ) cmdInfo . Ses . ChannelMessageSendEmbed ( cmdInfo . BotChID , msg ) } }
printTradeList handles printing large amounts of trade offers (since trade offers has no limit)
printTradeList handles printing large amounts of trade offers ( since trade offers has no limit )