mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 17:12:48 +00:00
end point for sound list
This commit is contained in:
@@ -2,8 +2,8 @@ package main
|
||||
|
||||
import (
|
||||
"./bot"
|
||||
"./bothandlers"
|
||||
"./config"
|
||||
"./handlers"
|
||||
"./webserver"
|
||||
)
|
||||
|
||||
@@ -15,7 +15,7 @@ func main() {
|
||||
bot.Connect(config.Config.Token)
|
||||
|
||||
//add handlers
|
||||
bot.AddHandler(handlers.SoundsHandler)
|
||||
bot.AddHandler(bothandlers.SoundsHandler)
|
||||
|
||||
// start new go routine for the discord websockets
|
||||
go bot.Start()
|
||||
|
||||
Reference in New Issue
Block a user