|
|
|
@ -90,7 +90,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
@@ -90,7 +90,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|
|
|
|
func handlePM(s *discordgo.Session, m *discordgo.MessageCreate) { |
|
|
|
|
defer log.PanicSafe() |
|
|
|
|
if strings.Contains(m.Content, "Rule") || strings.Contains(m.Content, "rule") { |
|
|
|
|
s.ChannelMessageSend(m.ChannelID, "I specifically said to say \"!rules\" without quotes in the unverified channel for the rules.") |
|
|
|
|
s.ChannelMessageSend(m.ChannelID, "I specifically said to say \"!rules\" without quotes in the _unverified_ channel for the rules.") |
|
|
|
|
} |
|
|
|
|
for _, uid := range config.Verifications { |
|
|
|
|
user := userFromID(uid.UserID) |
|
|
|
|