Formatting

This commit is contained in:
2023-09-15 13:09:03 -04:00
parent 5eb7920ed2
commit 31ca1cb243

View File

@ -118,7 +118,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
func handlePM(s *discordgo.Session, m *discordgo.MessageCreate) { func handlePM(s *discordgo.Session, m *discordgo.MessageCreate) {
defer log.PanicSafe() defer log.PanicSafe()
if strings.Contains(m.Content, "Rule") || strings.Contains(m.Content, "rule") { 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 - this is a PM :) .")
} }
for _, uid := range config.Verifications { for _, uid := range config.Verifications {
user := userFromID(uid.UserID) user := userFromID(uid.UserID)