Documentation ¶
Index ¶
- func New(name string) meido.Mod
- func NewListUserRolesCommand(m *UserRoleMod) *meido.ModCommand
- func NewMyRoleCommand(m *UserRoleMod) *meido.ModCommand
- func NewSetUserRoleCommand(m *UserRoleMod) *meido.ModCommand
- type UserRoleMod
- func (m *UserRoleMod) AllowDMs() bool
- func (m *UserRoleMod) AllowedTypes() meido.MessageType
- func (m *UserRoleMod) Commands() map[string]*meido.ModCommand
- func (m *UserRoleMod) Hook(b *meido.Bot) error
- func (m *UserRoleMod) Load() error
- func (m *UserRoleMod) Name() string
- func (m *UserRoleMod) Passives() []*meido.ModPassive
- func (m *UserRoleMod) RegisterCommand(cmd *meido.ModCommand)
- func (m *UserRoleMod) Save() error
- type Userrole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListUserRolesCommand ¶
func NewListUserRolesCommand(m *UserRoleMod) *meido.ModCommand
func NewMyRoleCommand ¶
func NewMyRoleCommand(m *UserRoleMod) *meido.ModCommand
func NewSetUserRoleCommand ¶
func NewSetUserRoleCommand(m *UserRoleMod) *meido.ModCommand
Types ¶
type UserRoleMod ¶
func (*UserRoleMod) AllowDMs ¶
func (m *UserRoleMod) AllowDMs() bool
func (*UserRoleMod) AllowedTypes ¶
func (m *UserRoleMod) AllowedTypes() meido.MessageType
func (*UserRoleMod) Commands ¶
func (m *UserRoleMod) Commands() map[string]*meido.ModCommand
func (*UserRoleMod) Load ¶
func (m *UserRoleMod) Load() error
func (*UserRoleMod) Name ¶
func (m *UserRoleMod) Name() string
func (*UserRoleMod) Passives ¶
func (m *UserRoleMod) Passives() []*meido.ModPassive
func (*UserRoleMod) RegisterCommand ¶
func (m *UserRoleMod) RegisterCommand(cmd *meido.ModCommand)
func (*UserRoleMod) Save ¶
func (m *UserRoleMod) Save() error
Click to show internal directories.
Click to hide internal directories.