Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedRoles map[string]struct{}
View Source
var Commands map[string]interface{}
View Source
var GeneralID string
View Source
var ServerRoles map[string]*discordgo.Role
Functions ¶
func CreateClient ¶
func HandleMessage ¶
func HandleMessage(s *discordgo.Session, m *discordgo.MessageCreate)
HandleMessage is called by the AddHandler function everytime a new message is posted in any channel the bot has access too
func MemberJoin ¶
func MemberJoin(s *discordgo.Session, member *discordgo.GuildMemberAdd)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.