func Rep(cmdInfo CommandInfo) {
	userID := stripPing(cmdInfo.CmdOps[1])
	if !cmdInfo.Service.Rep.Exists(userID) {
		// if the user doesn't exist in rep database, create a new one
		cmdInfo.newRep(userID)
	}
	// generate random 4 digit ID for acception event
	id := generateID(1000, 9999)
	cmdInfo.Service.Rep.AddRep(userID, id)
	userMsg := strings.Join(cmdInfo.CmdOps[2:], " ")
	// print rep msg
	msg := cmdInfo.createMsgEmbed(
		"Reputation Application", thumbThumbURL, "App ID: "+id,
		appColor, format(
			createFields("Nominee", mentionUser(userID), true),
			createFields("Message", userMsg, true),
			createFields("Note", "The mods will try to process this app ASAP. Thank you for submitting!", false),
		))
	cplx := &discordgo.MessageSend{
		Content: mentionRole(cmdInfo.AdminRole) + ": New Reputation App!",
		Embed:   msg,
	}
	cmdInfo.Ses.ChannelMessageSendComplex(cmdInfo.AppID, cplx)
	cmdInfo.Ses.ChannelMessageSend(cmdInfo.BotChID, "Application Submitted!")
}
// Rep will allow server members to update reputation points
// on another member
Rep will allow server members to update reputation points
on another member
// Rep will allow server members to update reputation points // on another member
func Rep(cmdInfo CommandInfo) {
	userID := stripPing(cmdInfo.CmdOps[1])
	if !cmdInfo.Service.Rep.Exists(userID) {
		cmdInfo.newRep(userID)
	}
	id := generateID(1000, 9999)
	cmdInfo.Service.Rep.AddRep(userID, id)
	userMsg := strings.Join(cmdInfo.CmdOps[2:], " ")
	msg := cmdInfo.createMsgEmbed(
		"Reputation Application", thumbThumbURL, "App ID: "+id,
		appColor, format(
			createFields("Nominee", mentionUser(userID), true),
			createFields("Message", userMsg, true),
			createFields("Note", "The mods will try to process this app ASAP. Thank you for submitting!", false),
		))
	cplx := &discordgo.MessageSend{
		Content: mentionRole(cmdInfo.AdminRole) + ": New Reputation App!",
		Embed:   msg,
	}
	cmdInfo.Ses.ChannelMessageSendComplex(cmdInfo.AppID, cplx)
	cmdInfo.Ses.ChannelMessageSend(cmdInfo.BotChID, "Application Submitted!")
}
func Rep ( cmdInfo CommandInfo ) { userID := stripPing ( cmdInfo . CmdOps [ 1 ] ) if ! cmdInfo . Service . Rep . Exists ( userID ) { cmdInfo . newRep ( userID ) } id := generateID ( 1000 , 9999 ) cmdInfo . Service . Rep . AddRep ( userID , id ) userMsg := strings . Join ( cmdInfo . CmdOps [ 2 : ] , " " ) msg := cmdInfo . createMsgEmbed ( " " , thumbThumbURL , " " + id , appColor , format ( createFields ( " " , mentionUser ( userID ) , true ) , createFields ( " " , userMsg , true ) , createFields ( " " , " " , false ) , ) ) cplx := & discordgo . MessageSend { Content : mentionRole ( cmdInfo . AdminRole ) + " " , Embed : msg , } cmdInfo . Ses . ChannelMessageSendComplex ( cmdInfo . AppID , cplx ) cmdInfo . Ses . ChannelMessageSend ( cmdInfo . BotChID , " " ) }
Rep will allow server members to update reputation points
on another member
Rep will allow server members to update reputation points on another member
// if the user doesn't exist in rep database, create a new one // generate random 4 digit ID for acception event // print rep msg