func Close(cmdInfo CommandInfo) {
	// Arg at cmdInfo.CmdOps[1] should be specifiying event or trade
	if len(cmdInfo.CmdOps) != 3 {
		// wrong arguments - error
		msg := cmdInfo.createMsgEmbed(
			"Error: Incorrect Arguments Supplied", errThumbURL, "Please check your syntax.", errColor,
			format(
				createFields("EXAMPLE", cmdInfo.Prefix+"close event 1234", true),
				createFields("EXAMPLE", cmdInfo.Prefix+"close trade 1234", true),
			))
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
		return
	}

	t := strings.ToLower(cmdInfo.CmdOps[1])
	switch t {
	case "event":
		closeEvent(cmdInfo.CmdOps[2], cmdInfo)
	case "trade":
		closeTrade(cmdInfo.CmdOps[2], cmdInfo)
	}
}
// Close will attempt to parse event or trade types
// and close the event by ID through host request
Close will attempt to parse event or trade types
and close the event by ID through host request
// Close will attempt to parse event or trade types // and close the event by ID through host request
func Close(cmdInfo CommandInfo) {
	if len(cmdInfo.CmdOps) != 3 {
		msg := cmdInfo.createMsgEmbed(
			"Error: Incorrect Arguments Supplied", errThumbURL, "Please check your syntax.", errColor,
			format(
				createFields("EXAMPLE", cmdInfo.Prefix+"close event 1234", true),
				createFields("EXAMPLE", cmdInfo.Prefix+"close trade 1234", true),
			))
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
		return
	}
	t := strings.ToLower(cmdInfo.CmdOps[1])
	switch t {
	case "event":
		closeEvent(cmdInfo.CmdOps[2], cmdInfo)
	case "trade":
		closeTrade(cmdInfo.CmdOps[2], cmdInfo)
	}
}
func Close ( cmdInfo CommandInfo ) { if len ( cmdInfo . CmdOps ) != 3 { msg := cmdInfo . createMsgEmbed ( " " , errThumbURL , " " , errColor , format ( createFields ( " " , cmdInfo . Prefix + " " , true ) , createFields ( " " , cmdInfo . Prefix + " " , true ) , ) ) cmdInfo . Ses . ChannelMessageSendEmbed ( cmdInfo . BotChID , msg ) return } t := strings . ToLower ( cmdInfo . CmdOps [ 1 ] ) switch t { case " " : closeEvent ( cmdInfo . CmdOps [ 2 ] , cmdInfo ) case " " : closeTrade ( cmdInfo . CmdOps [ 2 ] , cmdInfo ) } }
Close will attempt to parse event or trade types
and close the event by ID through host request
Close will attempt to parse event or trade types and close the event by ID through host request
// Arg at cmdInfo.CmdOps[1] should be specifiying event or trade // wrong arguments - error