s.ChannelMessageSend(config.AdminChannel,"New unverified user detected.")
s.ChannelMessageSend(config.AdminChannel,"New unverified user detected.")
s.ChannelMessageSend(config.MonitorChann,fmt.Sprintf("Welcome %+v, you may PM me your verification, or I will ban you in an hour!\nSay \"!rules\" in this channel, without quotes for the rules. You may private/direct message me for verification instructions.\n\nYou will not be able to read/see other channels or users until you verify.",m.User.Mention()))
s.ChannelMessageSend(config.MonitorChann,fmt.Sprintf("Welcome %+v, you may PM me your verification, or I will ban you in an hour!\nSay \"!rules\" in this channel, without quotes for the rules. You may private/direct message me for verification instructions.\n\nYou will not be able to read/see other channels or users until you verify.",m.User.Mention()))
s.ChannelMessageSend(config.MonitorChann,fmt.Sprintf("Welcome %+v, you may PM me your verification, or I will ban you in an hour!\nSay \"!rules\" in this channel, without quotes for the rules. You may private/direct message me for verification instructions.\n\nYou will not be able to read/see other channels or users until you verify.",m.User.Mention()))
s.ChannelMessageSend(config.MonitorChann,fmt.Sprintf("Welcome %+v, you may PM me your verification, or I will ban you in an hour!\nSay \"!rules\" in this channel, without quotes for the rules. You may private/direct message me for verification instructions.\n\nYou will not be able to read/see other channels or users until you verify.",m.User.Mention()))
s.ChannelMessageSend(st.ID,"Your verification has been accepted, welcome!")
s.ChannelMessageSend(st.ID,"Your verification has been accepted, welcome!")
log.LogDebug("Sending Intro message")
m,err:=s.ChannelMessageSend(config.IntroChann,fmt.Sprintf("Welcome %+v please introduce yourself! :) feel free to check out <#710557387937022034> to tag your roles. Also please mute any channels you are not interested in!",u.Mention()))
m,err:=s.ChannelMessageSend(config.IntroChann,fmt.Sprintf("Welcome %+v please introduce yourself! :) feel free to check out <#710557387937022034> to tag your roles. Also please mute any channels you are not interested in!",u.Mention()))
iferr!=nil{
iferr!=nil{
log.LogErrorType(err)
log.LogErrorType(err)
}
}
log.LogDebug("Storing introMsg ID to be deleted later")