Clean up welcome messages
This commit is contained in:
@ -36,8 +36,6 @@ func guildMemberAdd(s *discordgo.Session, m *discordgo.GuildMemberAdd) {
|
|||||||
config.Probations[m.User.ID] = time.Now()
|
config.Probations[m.User.ID] = time.Now()
|
||||||
log.LogDebug("Giving user monitor role")
|
log.LogDebug("Giving user monitor role")
|
||||||
s.GuildMemberRoleAdd(config.GuildID, m.User.ID, config.MonitorRole)
|
s.GuildMemberRoleAdd(config.GuildID, m.User.ID, config.MonitorRole)
|
||||||
log.LogDebug("Sending Monitored message")
|
|
||||||
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()))
|
|
||||||
log.LogDebug("Calling saveConfig")
|
log.LogDebug("Calling saveConfig")
|
||||||
saveConfig()
|
saveConfig()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user