func (b *Bot) handleMessage(s *discordgo.Session, m *discordgo.MessageCreate) {
	// Ignore all messages created by the bot itself
	if m.Author.ID == s.State.User.ID {
		return
	}
	if strings.HasPrefix(m.Content, b.Prefix) {
		b.processCmd(s, m)
	}
}
// handleMessage handles all new discord messages which the bot uses to determine
// actions
handleMessage handles all new discord messages which the bot uses to determine
actions
// handleMessage handles all new discord messages which the bot uses to determine // actions
func (b *Bot) handleMessage(s *discordgo.Session, m *discordgo.MessageCreate) {
	if m.Author.ID == s.State.User.ID {
		return
	}
	if strings.HasPrefix(m.Content, b.Prefix) {
		b.processCmd(s, m)
	}
}
func ( b * Bot ) handleMessage ( s * discordgo . Session , m * discordgo . MessageCreate ) { if m . Author . ID == s . State . User . ID { return } if strings . HasPrefix ( m . Content , b . Prefix ) { b . processCmd ( s , m ) } }
handleMessage handles all new discord messages which the bot uses to determine
actions
handleMessage handles all new discord messages which the bot uses to determine actions
// Ignore all messages created by the bot itself