Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BotID string
BotID is set by InitDiscordSession for subsequent use in reactions dispatcher
Functions ¶
func CloseDiscordSession ¶
func CloseDiscordSession()
CloseDiscordSession closes Discord Gateway websocket, to be used on exit
func InitDiscordSession ¶
InitDiscordSession creates a new Discord session using the provided login information.
func JoinVoice ¶
func JoinVoice(gID, cID string)
JoinVoice makes the bot join a voice channel with the supplied ID
func PostMessage ¶
PostMessage queues a message for posting via Discord API, takes channelID and message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.