package level import ( "github.com/bwmarrin/discordgo" ) var ShouldListen = true func Event(dg *discordgo.Session, m *discordgo.MessageCreate) { if m.Author.Bot || ShouldListen { return } }