Documentation ¶
Index ¶
- Constants
- type Category
- type Plugin
- func (p *Plugin) Action(event *events.Event) bool
- func (p *Plugin) Help() *common.PluginHelp
- func (p *Plugin) Names() []string
- func (p *Plugin) Passthrough() bool
- func (p *Plugin) Priority() int
- func (p *Plugin) Start(params common.StartParameters) error
- func (p *Plugin) Stop(params common.StopParameters) error
- type Role
Constants ¶
View Source
const ( ServerRoleNotFound string = "roles.role.role-not-found-on-server" MultipleServerRolesWithName string = "roles.role.multiple-server-roles-with-name" )
View Source
const ( PLUS = "+" MINUS = "-" )
View Source
const (
INTERVAL = 30 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Help ¶
func (p *Plugin) Help() *common.PluginHelp
func (*Plugin) Passthrough ¶
type Role ¶
type Role struct { gorm.Model CategoryID uint // roles aren't guarenteed to have a category GuildID string ServerRoleID string PrintName string Emoji string Enabled bool Aliases pq.StringArray `gorm:"type:varchar[]"` }
Click to show internal directories.
Click to hide internal directories.