Add mention when link is deleted
This commit is contained in:
@ -64,7 +64,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||
}
|
||||
}
|
||||
if !safe {
|
||||
s.ChannelMessageSend(m.ChannelID, "That domain is not approved by the admins. Please contact Admins if the domain should be whitelisted.")
|
||||
s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("%+v: That domain is not approved by the admins. Please contact Admins if the domain should be whitelisted.", m.Author.Mention()))
|
||||
s.ChannelMessageDelete(m.ChannelID, m.ID)
|
||||
channel, err := s.Channel(m.ChannelID)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user