1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 01:22:48 +00:00

use permissions from database - updated bot-scripts

This commit is contained in:
2018-10-20 13:42:37 -05:00
parent 3f650e7c65
commit b004d4f29a
15 changed files with 126 additions and 57 deletions

View File

@@ -16,10 +16,7 @@ func Start(token string) *discordgo.Session {
// add bot handlers
addHandler(session, bothandlers.SoundsHandler)
if config.Config.Logger {
addHandler(session, bothandlers.LoggerHandler)
}
addHandler(session, bothandlers.LoggerHandler)
// start listening for commands
startListener(session)