Formatting
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user