diff --git a/mod_msgLog.go b/mod_msgLog.go deleted file mode 100644 index a077757..0000000 --- a/mod_msgLog.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "github.com/bwmarrin/discordgo" - log "github.com/sirupsen/logrus" -) - -func init() { - discordHandlers = append(discordHandlers, handleMessageDeleteLog) -} - -func handleMessageDeleteLog(s *discordgo.Session, m *discordgo.MessageDelete) { - if m.Author.ID == s.State.User.ID { - // Bot was the author, do not spam - return - } - - // FIXME: Do something useful with this - log.WithField("msg", m).Info("Message deleted") -}