plugins

package
v0.0.0-...-2c0dc59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

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

type GeneralCog struct {
	EventHandler *sandwich.Handlers
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL