diff --git a/plugins/last/last.go b/plugins/last/last.go index 0a30ce2..2e43bdc 100644 --- a/plugins/last/last.go +++ b/plugins/last/last.go @@ -27,6 +27,7 @@ func New(b bot.Bot) *LastPlugin { p := &LastPlugin{ b: b, db: b.DB(), + c: b.Config(), channels: map[string]bool{}, } if err := p.migrate(); err != nil {