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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user