Documentation ¶
Index ¶
- type Case
- type ChannelEqualsCondition
- type ChannelIsTypeCondition
- type Condition
- type DeleteMessageResponse
- type Engine
- type InviteUserResponse
- type KickUserResponse
- type MessageChannelResponse
- type MessageUserResponse
- type RandomCondition
- type Response
- type TextContainsCondition
- type TextEqualsCondition
- type TextMatchesCondition
- type TextStartsWithCondition
- type UserEqualsCondition
- type UserIsRoleCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelEqualsCondition ¶
type ChannelEqualsCondition struct {
Condition string
}
func NewChannelEqualsCondition ¶
func NewChannelEqualsCondition(condition string) (*ChannelEqualsCondition, error)
type ChannelIsTypeCondition ¶
type ChannelIsTypeCondition struct {
Condition string
}
func NewChannelIsTypeCondition ¶
func NewChannelIsTypeCondition(condition string) (*ChannelIsTypeCondition, error)
type DeleteMessageResponse ¶
type DeleteMessageResponse struct { }
func NewDeleteMessageResponse ¶
func NewDeleteMessageResponse() (*DeleteMessageResponse, error)
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) ReloadCaseFile ¶
func (*Engine) ReloadCaseFiles ¶
func (e *Engine) ReloadCaseFiles()
func (*Engine) SetProvider ¶
type InviteUserResponse ¶
type InviteUserResponse struct {
// contains filtered or unexported fields
}
func NewInviteUserResponse ¶
func NewInviteUserResponse(channelID, userID string) (*InviteUserResponse, error)
type KickUserResponse ¶
func NewKickUserResponse ¶
func NewKickUserResponse(channelID, userID string) (*KickUserResponse, error)
type MessageChannelResponse ¶
type MessageChannelResponse struct {
// contains filtered or unexported fields
}
func NewMessageChannelResponse ¶
func NewMessageChannelResponse(channelID, message string) (*MessageChannelResponse, error)
type MessageUserResponse ¶
type MessageUserResponse struct {
// contains filtered or unexported fields
}
func NewMessageUserResponse ¶
func NewMessageUserResponse(userID, message string) (*MessageUserResponse, error)
type RandomCondition ¶
type RandomCondition struct {
Likeness int
}
func NewRandomCondition ¶
func NewRandomCondition(likeness int) (*RandomCondition, error)
type TextContainsCondition ¶
type TextContainsCondition struct {
Condition string
}
func NewTextContainsCondition ¶
func NewTextContainsCondition(condition string) (*TextContainsCondition, error)
type TextEqualsCondition ¶
type TextEqualsCondition struct {
Condition string
}
func NewTextEqualsCondition ¶
func NewTextEqualsCondition(condition string) (*TextEqualsCondition, error)
type TextMatchesCondition ¶
type TextMatchesCondition struct {
// contains filtered or unexported fields
}
func NewTextMatchesCondition ¶
func NewTextMatchesCondition(expression string) (*TextMatchesCondition, error)
type TextStartsWithCondition ¶
type TextStartsWithCondition struct {
Condition string
}
func NewTextStartsWithCondition ¶
func NewTextStartsWithCondition(condition string) (*TextStartsWithCondition, error)
type UserEqualsCondition ¶
func NewUserEqualsCondition ¶
func NewUserEqualsCondition(condition, parameter string) (*UserEqualsCondition, error)
type UserIsRoleCondition ¶
func NewUserIsRoleCondition ¶
func NewUserIsRoleCondition(condition, parameter string) (*UserIsRoleCondition, error)
Click to show internal directories.
Click to hide internal directories.