Fix log file name format and remove old debug prints

This commit is contained in:
Tulir Asokan 2018-09-20 01:47:24 +03:00
parent 2a0106da26
commit a77084b12e
6 changed files with 5 additions and 8 deletions

View file

@ -51,21 +51,18 @@ func (bot *Bot) Init() {
bot.initServer()
bot.loadPlugins()
bot.createPlugins()
log.Debugln("Init func exit")
}
func (bot *Bot) Start() {
go bot.startClients()
go bot.startServer()
bot.startPlugins()
log.Debugln("Start func exit")
}
func (bot *Bot) Stop() {
bot.stopPlugins()
bot.stopServer()
bot.stopClients()
log.Debugln("Stop func exit")
}
func (bot *Bot) initDatabase() {