Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOnInvokeWelcomerEvent ¶
func RegisterOnInvokeWelcomerEvent(h *sandwich.Handlers, event core.OnInvokeWelcomerFuncType)
RegisterOnGuildMemberAddEvent adds a new event handler for the GUILD_MEMBER_ADD event. It does not override a handler and instead will add another handler.
Types ¶
type GeneralCog ¶
func NewGeneralCog ¶
func NewGeneralCog() *GeneralCog
func (*GeneralCog) CogInfo ¶
func (p *GeneralCog) CogInfo() *sandwich.CogInfo
func (*GeneralCog) GetEventHandlers ¶
func (p *GeneralCog) GetEventHandlers() *sandwich.Handlers
func (*GeneralCog) RegisterCog ¶
func (p *GeneralCog) RegisterCog(bot *sandwich.Bot) error
Click to show internal directories.
Click to hide internal directories.