Documentation ¶
Index ¶
- type Entry
- type Plugin
- func (p *Plugin) Action(event *events.Event) bool
- func (p *Plugin) Help() *common.PluginHelp
- func (p *Plugin) Names() []string
- func (p *Plugin) Passthrough() bool
- func (p *Plugin) Priority() int
- func (p *Plugin) Start(params common.StartParameters) error
- func (p *Plugin) Stop(params common.StopParameters) error
- type Post
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { gorm.Model GuildID string ChannelOrUserID string // UserID in case of DMs DM bool DisableArtistFeed bool `gorm:"default:false"` DisableMediaFeed bool `gorm:"default:false"` DisableNoticeFeed bool `gorm:"default:false"` DisableMomentFeed bool `gorm:"default:false"` AddedBy string BotID string // only relevant for DMs WeverseChannelName string WeverseChannelID int64 ArtistFeedLastCheck time.Time ArtistFeedCheck feed.Check `gorm:"embedded;embedded_prefix:artist_"` MediaFeedLastCheck time.Time MediaFeedCheck feed.Check `gorm:"embedded;embedded_prefix:media_"` NoticeFeedLastCheck time.Time NoticeFeedCheck feed.Check `gorm:"embedded;embedded_prefix:notice_"` MomentFeedLastCheck time.Time MomentFeedCheck feed.Check `gorm:"embedded;embedded_prefix:moment_"` }
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Help ¶
func (p *Plugin) Help() *common.PluginHelp
func (*Plugin) Passthrough ¶
Click to show internal directories.
Click to hide internal directories.