remove more logs

This commit is contained in:
Chris Sexton 2020-10-09 13:51:05 -04:00 committed by Chris Sexton
parent 4b95e7680c
commit 5df7644229
2 changed files with 0 additions and 5 deletions

View File

@ -18,10 +18,6 @@ import (
) )
func (b *bot) Receive(conn Connector, kind Kind, msg msg.Message, args ...interface{}) bool { func (b *bot) Receive(conn Connector, kind Kind, msg msg.Message, args ...interface{}) bool {
log.Debug().
Interface("msg", msg).
Msg("Received event")
// msg := b.buildMessage(client, inMsg) // msg := b.buildMessage(client, inMsg)
// do need to look up user and fix it // do need to look up user and fix it
if kind == Message && strings.HasPrefix(msg.Body, "help") && msg.Command { if kind == Message && strings.HasPrefix(msg.Body, "help") && msg.Command {

View File

@ -192,7 +192,6 @@ func (d *Discord) Serve() error {
} }
func (d *Discord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { func (d *Discord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
log.Debug().Msgf("discord message: %+v", m)
if m.Author.ID == s.State.User.ID { if m.Author.ID == s.State.User.ID {
return return
} }