func Unregister(cmdInfo CommandInfo) {
	// cmdInfo.CmdOps[1:] starts after ;unregister
	if len(cmdInfo.CmdOps) != 3 {
		// Error - not enough arguments
		msg := cmdInfo.createMsgEmbed(
			"Error: Wrong Arguments", errThumbURL, "Try checking your syntax.", errColor,
			format(
				createFields("EXAMPLE", cmdInfo.Prefix+"unregister event 1234", false),
			))
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
		return
	}
	args := cmdInfo.CmdOps[1:]
	switch strings.ToLower(args[0]) {
	case "event":
		cmdInfo.removeFromEvent(args[1], cmdInfo.Msg.Author)
	case "trade":
		cmdInfo.removeFromTrade(args[1], cmdInfo.Msg.Author)
	}
}
// Unregister allows a queue user to remove themselves from the queue
Unregister allows a queue user to remove themselves from the queue
// Unregister allows a queue user to remove themselves from the queue
func Unregister(cmdInfo CommandInfo) {
	if len(cmdInfo.CmdOps) != 3 {
		msg := cmdInfo.createMsgEmbed(
			"Error: Wrong Arguments", errThumbURL, "Try checking your syntax.", errColor,
			format(
				createFields("EXAMPLE", cmdInfo.Prefix+"unregister event 1234", false),
			))
		cmdInfo.Ses.ChannelMessageSendEmbed(cmdInfo.BotChID, msg)
		return
	}
	args := cmdInfo.CmdOps[1:]
	switch strings.ToLower(args[0]) {
	case "event":
		cmdInfo.removeFromEvent(args[1], cmdInfo.Msg.Author)
	case "trade":
		cmdInfo.removeFromTrade(args[1], cmdInfo.Msg.Author)
	}
}
func Unregister ( cmdInfo CommandInfo ) { if len ( cmdInfo . CmdOps ) != 3 { msg := cmdInfo . createMsgEmbed ( " " , errThumbURL , " " , errColor , format ( createFields ( " " , cmdInfo . Prefix + " " , false ) , ) ) cmdInfo . Ses . ChannelMessageSendEmbed ( cmdInfo . BotChID , msg ) return } args := cmdInfo . CmdOps [ 1 : ] switch strings . ToLower ( args [ 0 ] ) { case " " : cmdInfo . removeFromEvent ( args [ 1 ] , cmdInfo . Msg . Author ) case " " : cmdInfo . removeFromTrade ( args [ 1 ] , cmdInfo . Msg . Author ) } }
Unregister allows a queue user to remove themselves from the queue
Unregister allows a queue user to remove themselves from the queue
// cmdInfo.CmdOps[1:] starts after ;unregister // Error - not enough arguments