Documentation
¶
Overview ¶
Package discord is the Discord adapter for botbooter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RawEvent ¶ added in v0.2.0
func RawEvent(m *core.Message) (*discordgo.MessageCreate, bool)
RawEvent returns the raw Discord message-create event carried on m, reporting whether m originated from Discord.
func RawReaction ¶ added in v0.4.0
func RawReaction(r *core.Reaction) (*discordgo.MessageReactionAdd, bool)
RawReaction returns the raw Discord reaction-add event carried on r, reporting whether r originated from Discord.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.