diff options
| author | Mel <einebeere@gmail.com> | 2022-05-19 23:54:20 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-05-19 23:54:20 +0200 |
| commit | 88afd4941bdf8e3b180fafd1a555df41622a7331 (patch) | |
| tree | 27b3df1b80e93120485112a857af13c9bc654b45 /pkg/bot | |
| parent | 81974428470ca8830b00589565c5b1d9d5088ea0 (diff) | |
| download | jinx-88afd4941bdf8e3b180fafd1a555df41622a7331.tar.zst jinx-88afd4941bdf8e3b180fafd1a555df41622a7331.zip | |
Don't log messages twice
Diffstat (limited to 'pkg/bot')
| -rw-r--r-- | pkg/bot/bot.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/bot/bot.go b/pkg/bot/bot.go index 81b5548..9ae6d10 100644 --- a/pkg/bot/bot.go +++ b/pkg/bot/bot.go @@ -29,8 +29,6 @@ func (b *Bot) Start() error { b.client.On(events.MESSAGE, func(m any) { msg := m.(events.Message) - b.logger.Debug().Msgf("message: %s", msg.Content) - b.onMessage(msg) }) |
