From 2ec00273c1b5bbf5ca0fcac960d528a84ea8c8eb Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Sun, 31 May 2020 11:05:56 +0800 Subject: [PATCH] fix: Listen to bot levels --- level/listener.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level/listener.go b/level/listener.go index c231653..8782501 100644 --- a/level/listener.go +++ b/level/listener.go @@ -10,7 +10,7 @@ import ( var ShouldListen = true func Event(dg *discordgo.Session, m *discordgo.MessageCreate) { - if m.Author.Bot || !ShouldListen { + if !ShouldListen { return }