Socialify

Folder ..

Viewing messageGatewayHandler.go
16 lines (11 loc) • 301.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
package handlers

import (
	messagehandlers "yuzaki/handlers/messageHandlers"

	"github.com/bwmarrin/discordgo"
)

func MessageGatewayHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
	messagehandlers.PoketwoHandler(s, m)

	if m.Author.ID == s.State.User.ID || m.Author.Bot {
		return
	}

}