Browse Source

Cleanup

master
Gregory Rudolph 3 years ago
parent
commit
6232d9e126
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      discordMessage.go

2
discordMessage.go

@ -90,7 +90,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.")
} }
for _, uid := range config.Verifications { for _, uid := range config.Verifications {
user := userFromID(uid.UserID) user := userFromID(uid.UserID)

Loading…
Cancel
Save