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
- type Ping
- func (c *Ping) Exec(ctx shireikan.Context) error
- func (c *Ping) GetDescription() string
- func (c *Ping) GetDomainName() string
- func (c *Ping) GetGroup() string
- func (c *Ping) GetHelp() string
- func (c *Ping) GetInvokes() []string
- func (c *Ping) GetSubPermissionRules() []shireikan.SubPermission
- func (c *Ping) 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.
type Ping ¶
type Ping struct { }
Ping is a command responding with a ping message in the commands channel.
func (*Ping) GetDescription ¶
GetDescription returns the commands description.
func (*Ping) GetDomainName ¶
GetDomainName returns the commands domain name.
func (*Ping) GetInvokes ¶
GetInvoke returns the command invokes.
func (*Ping) GetSubPermissionRules ¶
func (c *Ping) GetSubPermissionRules() []shireikan.SubPermission
GetSubPermissionRules returns the commands sub permissions array.
func (*Ping) IsExecutableInDMChannels ¶
IsExecutableInDMChannels returns whether the command is executable in DM channels.