Versions in this module Expand all Collapse all v1 v1.24.19 Mar 7, 2021 Changes in this version + func BatchInitCache(guilds []int64) error + func EvictCacheForGuild(guildID int64) + func GetGuildFlags(guildID int64) ([]string, error) + func GuildHasFlag(guildID int64, flag string) (bool, error) + func GuildHasFlagOrLogError(guildID int64, flag string) bool + func MarkGuildDirty(guildID int64) + func RegisterPlugin() + func RetryGetGuildFlags(guildID int64) (flags []string, err error) + func UpdateGuildFlags(guildID int64) error + func UpdatePluginFeatureFlags(guildID int64, p PluginWithFeatureFlags) error + type Plugin struct + func (p *Plugin) PluginInfo() *common.PluginInfo + func (p *Plugin) RunBackgroundWorker() + func (p *Plugin) StopBackgroundWorker(wg *sync.WaitGroup) + type PluginWithFeatureFlags interface + AllFeatureFlags func() []string + UpdateFeatureFlags func(guildID int64) ([]string, error)