runners and fixes
This commit is contained in:
2
main.go
2
main.go
@@ -23,7 +23,7 @@ func main() {
|
||||
Redis: database.RedisClient,
|
||||
}
|
||||
bot = bot.ErrorTemplate("Во время выполнения команды произошла ошибка!\nСообщите об этом разработчику!\n\n%s")
|
||||
bot = bot.InitDatabaseContext(dbCtx)
|
||||
bot = bot.DatabaseContext(dbCtx)
|
||||
bot.AddDatabaseLogger(plugins.DatabaseLogger)
|
||||
bot.AddMiddleware(plugins.InitLogMiddleware())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user