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 DisablePostFeed bool `gorm:"default:false"` DisableStoryFeed bool `gorm:"default:false"` AddedBy string BotID string // only relevant for DMs InstagramUsername string InstagramAccountID string LastCheck time.Time feed.Check StoriesLastCheck time.Time StoriesCheck feed.Check `gorm:"embedded;embedded_prefix:stories_"` IGTVLastCheck time.Time IGTVCheck feed.Check `gorm:"embedded;embedded_prefix:igtv_"` }
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.