Documentation
¶
Overview ¶
Code generated. DO NOT EDIT
Index ¶
- Variables
- func CheckListeners(GcCycle time.Duration)
- func CleanTempDocs(GcCycle time.Duration)
- func HandleDoc(s *discordgo.Session, content string, channelID string) *discordgo.MessageEmbed
- func HandleDocSend(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
- func HandleDocUpdate(s *discordgo.Session, m *discordgo.MessageUpdate)
- func HandleFuncsPages(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
- func HandleTypesPages(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
- func PagesShortResponse(state, prefix string) *discordgo.MessageEmbed
- func ReactionListen(session *discordgo.Session, reaction *discordgo.MessageReactionAdd)
- type EditListener
- type ReactionListener
- type TempDoc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PkgCache = map[string]*TempDoc{} StdlibCache = map[string]*docs.Doc{}/* 729 elements not displayed */ )
View Source
var DocsHelpEmbed = &discordgo.MessageEmbed{
Title: "Docs help",
}
DocsHelpEmbed is the help for the docs command.
Functions ¶
func CheckListeners ¶
CheckListeners checks all active reaction listeners and kills inactive ones
func CleanTempDocs ¶
func HandleDocSend ¶
func HandleDocSend(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
func HandleDocUpdate ¶
func HandleDocUpdate(s *discordgo.Session, m *discordgo.MessageUpdate)
func HandleFuncsPages ¶
func HandleFuncsPages(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
HandleFuncsPages is the handler fo the getfuncs command
func HandleTypesPages ¶
func HandleTypesPages(s *discordgo.Session, m *discordgo.MessageCreate, prefix string)
HandleTypesPages is the handler fo the gettypes command
func PagesShortResponse ¶
func PagesShortResponse(state, prefix string) *discordgo.MessageEmbed
PagesShortResponse is the error response for the commands to show pages of types or funcs
func ReactionListen ¶
func ReactionListen(session *discordgo.Session, reaction *discordgo.MessageReactionAdd)
ReactionListen listens for the reactions for a previously sent embed.
Types ¶
type EditListener ¶
Click to show internal directories.
Click to hide internal directories.