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

refactor sounds handler - now uses channels for queue

This commit is contained in:
2017-06-30 22:22:47 -05:00
parent de6332e89c
commit ddbd24608f
2 changed files with 66 additions and 93 deletions

View File

@@ -16,7 +16,8 @@ func main() {
//add handlers
bot.AddHandler(bothandlers.SoundsHandler)
bot.AddHandler(bothandlers.GifHandler)
// remove gif functionality for not
//bot.AddHandler(bothandlers.GifHandler)
// start new go routine for the discord websockets
go bot.Start()