Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config config
Config is a config interface.
View Source
var Users []UserList
Users is a slice of UserList.
Functions ¶
func CacheDiscordMembers ¶
CacheDiscordMembers caches the users list to be searched.
func Chat ¶
func Chat(s *discordgo.Session, m *discordgo.MessageCreate)
Chat pipes in-game chat to Discord.
func ErrorLog ¶
func ErrorLog(err error)
ErrorLog logs the error to file and then exits the application with an exit code of 1.
func LocateMentionPosition ¶
LocateMentionPosition locates the position in a string list for the discord mention.
func SearchForUser ¶
SearchForUser searches for the user to be mentioned.
Types ¶
Click to show internal directories.
Click to hide internal directories.