Documentation ¶
Index ¶
- type AccountAge
- type AccountAgeItem
- type AmountComparisonType
- type AttachmentsCount
- type AttachmentsCountItem
- type BucketAmount
- type BucketAmountItem
- type Channel
- type ChannelID
- type ChannelIDItem
- type ChannelItem
- type EmojiCount
- type EmojiCountItem
- type InvitesCount
- type InvitesCountItem
- type MentionsCount
- type MentionsCountItem
- type RegexMessageContent
- type RegexMessageContentItem
- type RegexUserName
- type RegexUserNameItem
- type Role
- type RoleID
- type RoleIDItem
- type RoleItem
- type True
- type TrueItem
- type User
- type UserID
- type UserIDItem
- type UserItem
- type Wait
- type WaitItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAge ¶
type AccountAge struct{}
func (AccountAge) Args ¶
func (f AccountAge) Args() int
func (AccountAge) Deprecated ¶
func (f AccountAge) Deprecated() bool
func (AccountAge) Description ¶
func (f AccountAge) Description() string
func (AccountAge) Name ¶
func (f AccountAge) Name() string
func (AccountAge) NewItem ¶
func (f AccountAge) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type AccountAgeItem ¶
type AccountAgeItem struct { Age time.Duration Comparison AmountComparisonType }
type AmountComparisonType ¶
type AmountComparisonType string
const ( AmountComparisonLT AmountComparisonType = "lt" AmountComparisonGT AmountComparisonType = "gt" AmountComparisonEQ AmountComparisonType = "eq" )
type AttachmentsCount ¶
type AttachmentsCount struct{}
func (AttachmentsCount) Args ¶
func (f AttachmentsCount) Args() int
func (AttachmentsCount) Deprecated ¶
func (f AttachmentsCount) Deprecated() bool
func (AttachmentsCount) Description ¶
func (f AttachmentsCount) Description() string
func (AttachmentsCount) Name ¶
func (f AttachmentsCount) Name() string
func (AttachmentsCount) NewItem ¶
func (f AttachmentsCount) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type AttachmentsCountItem ¶
type AttachmentsCountItem struct { Amount int Comparison AmountComparisonType }
type BucketAmount ¶
type BucketAmount struct{}
func (BucketAmount) Args ¶
func (f BucketAmount) Args() int
func (BucketAmount) Deprecated ¶
func (f BucketAmount) Deprecated() bool
func (BucketAmount) Description ¶
func (f BucketAmount) Description() string
func (BucketAmount) Name ¶
func (f BucketAmount) Name() string
func (BucketAmount) NewItem ¶
func (f BucketAmount) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type BucketAmountItem ¶
type BucketAmountItem struct { Amount int Comparison AmountComparisonType }
type Channel ¶
type Channel struct{}
func (Channel) Deprecated ¶
func (Channel) Description ¶
func (Channel) NewItem ¶
func (f Channel) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type ChannelID ¶
type ChannelID struct{}
deprecated: use if_channel
func (ChannelID) Deprecated ¶
func (ChannelID) Description ¶
func (ChannelID) NewItem ¶
func (f ChannelID) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type ChannelIDItem ¶
type ChannelIDItem struct {
// contains filtered or unexported fields
}
type ChannelItem ¶
type ChannelItem struct {
// contains filtered or unexported fields
}
type EmojiCount ¶
type EmojiCount struct{}
func (EmojiCount) Args ¶
func (f EmojiCount) Args() int
func (EmojiCount) Deprecated ¶
func (f EmojiCount) Deprecated() bool
func (EmojiCount) Description ¶
func (f EmojiCount) Description() string
func (EmojiCount) Name ¶
func (f EmojiCount) Name() string
func (EmojiCount) NewItem ¶
func (f EmojiCount) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type EmojiCountItem ¶
type EmojiCountItem struct { Amount int Comparison AmountComparisonType }
type InvitesCount ¶
type InvitesCount struct{}
func (InvitesCount) Args ¶
func (f InvitesCount) Args() int
func (InvitesCount) Deprecated ¶
func (f InvitesCount) Deprecated() bool
func (InvitesCount) Description ¶
func (f InvitesCount) Description() string
func (InvitesCount) Name ¶
func (f InvitesCount) Name() string
func (InvitesCount) NewItem ¶
func (f InvitesCount) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type InvitesCountItem ¶
type InvitesCountItem struct { Amount int Comparison AmountComparisonType }
type MentionsCount ¶
type MentionsCount struct{}
func (MentionsCount) Args ¶
func (f MentionsCount) Args() int
func (MentionsCount) Deprecated ¶
func (f MentionsCount) Deprecated() bool
func (MentionsCount) Description ¶
func (f MentionsCount) Description() string
func (MentionsCount) Name ¶
func (f MentionsCount) Name() string
func (MentionsCount) NewItem ¶
func (f MentionsCount) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type MentionsCountItem ¶
type MentionsCountItem struct { Amount int Comparison AmountComparisonType }
type RegexMessageContent ¶
type RegexMessageContent struct{}
func (RegexMessageContent) Args ¶
func (f RegexMessageContent) Args() int
func (RegexMessageContent) Deprecated ¶
func (f RegexMessageContent) Deprecated() bool
func (RegexMessageContent) Description ¶
func (f RegexMessageContent) Description() string
func (RegexMessageContent) Name ¶
func (f RegexMessageContent) Name() string
func (RegexMessageContent) NewItem ¶
func (f RegexMessageContent) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type RegexMessageContentItem ¶
type RegexMessageContentItem struct {
// contains filtered or unexported fields
}
type RegexUserName ¶
type RegexUserName struct{}
func (RegexUserName) Args ¶
func (f RegexUserName) Args() int
func (RegexUserName) Deprecated ¶
func (f RegexUserName) Deprecated() bool
func (RegexUserName) Description ¶
func (f RegexUserName) Description() string
func (RegexUserName) Name ¶
func (f RegexUserName) Name() string
func (RegexUserName) NewItem ¶
func (f RegexUserName) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type RegexUserNameItem ¶
type RegexUserNameItem struct {
// contains filtered or unexported fields
}
type Role ¶
type Role struct{}
func (Role) Deprecated ¶
func (Role) Description ¶
func (Role) NewItem ¶
func (f Role) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type RoleID ¶
type RoleID struct{}
deprecated: use if_role
func (RoleID) Deprecated ¶
func (RoleID) Description ¶
func (RoleID) NewItem ¶
func (f RoleID) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type RoleIDItem ¶
type RoleIDItem struct {
RoleIDs []string
}
type True ¶
type True struct{}
func (True) Deprecated ¶
func (True) Description ¶
func (True) NewItem ¶
func (f True) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type User ¶
type User struct{}
func (User) Deprecated ¶
func (User) Description ¶
func (User) NewItem ¶
func (f User) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type UserID ¶
type UserID struct{}
deprecated: use if_is_user
func (UserID) Deprecated ¶
func (UserID) Description ¶
func (UserID) NewItem ¶
func (f UserID) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
type UserIDItem ¶
type UserIDItem struct {
UserIDs []string
}
type Wait ¶
type Wait struct{}
func (Wait) Deprecated ¶
func (Wait) Description ¶
func (Wait) NewItem ¶
func (f Wait) NewItem(env *models.Env, args []string) (interfaces.FilterItemInterface, error)
Source Files ¶
- amount_comparison.go
- if_account_age.go
- if_attachments_count.go
- if_bucket_amount.go
- if_channel.go
- if_channel_id.go
- if_emoji_count.go
- if_has_role.go
- if_has_role_id.go
- if_invite_count.go
- if_is_user.go
- if_is_user_id.go
- if_mentions_count.go
- if_regex_message_content.go
- if_regex_user_name.go
- if_true.go
- wait.go
Click to show internal directories.
Click to hide internal directories.