Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { Handle(s *discordgo.Session, msg *discordgo.MessageCreate) GetCommandHandler() commandmap.Map }
type PremadeHandler ¶
type PremadeHandler struct { Prefix string // contains filtered or unexported fields }
this is the basic premade handler with support for one prefix u can change it up how u want because of the whole interfaces
func New ¶
func New(dg *discordgo.Session, cmds commandmap.Map, prefix string) PremadeHandler
initalizes a basic premade handler for you.
func (PremadeHandler) GetCommandHandler ¶
func (h PremadeHandler) GetCommandHandler() commandmap.Map
Click to show internal directories.
Click to hide internal directories.