Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { // misc. Log *zap.SugaredLogger Config *config.Config Stats *stats.Stats StartTime time.Time Router *gumi.Router // caches BannedUsers *ttlcache.Cache EmbedCache *cache.EmbedCache ArtworkCache *goCache.Cache // services Sengoku *sengoku.Sengoku NHentai *nhentai.API ArtworkProviders []artworks.Provider RepostDetector repost.Detector ShardManager *shards.Manager Store store.Store }
func (*Bot) AddHandler ¶
func (b *Bot) AddHandler(handler interface{})
func (*Bot) AddProvider ¶
Click to show internal directories.
Click to hide internal directories.