Documentation
¶
Index ¶
- type Object
- func (c *Object) Exec(ctx shireikan.Context) error
- func (c *Object) GetDescription() string
- func (c *Object) GetDomainName() string
- func (c *Object) GetGroup() string
- func (c *Object) GetHelp() string
- func (c *Object) GetInvokes() []string
- func (c *Object) GetSubPermissionRules() []shireikan.SubPermission
- func (c *Object) IsExecutableInDMChannels() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { }
Object is a command returning an object recovered from the context's object map.
func (*Object) GetDescription ¶
GetDescription returns the commands description.
func (*Object) GetDomainName ¶
GetDomainName returns the commands domain name.
func (*Object) GetInvokes ¶
GetInvoke returns the command invokes.
func (*Object) GetSubPermissionRules ¶
func (c *Object) GetSubPermissionRules() []shireikan.SubPermission
GetSubPermissionRules returns the commands sub permissions array.
func (*Object) IsExecutableInDMChannels ¶
IsExecutableInDMChannels returns whether the command is executable in DM channels.
Click to show internal directories.
Click to hide internal directories.