1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-12 01:52:49 +00:00

allow sounds to be queued up - summon/dimiss now a thing

This commit is contained in:
2017-06-29 23:52:23 -05:00
parent 55bbf7cc1f
commit 03fa82b2a2
10 changed files with 126 additions and 107 deletions

View File

@@ -1,12 +1,13 @@
package handlers
import (
"../../config"
"encoding/json"
"fmt"
"github.com/valyala/fasthttp"
"io/ioutil"
"strings"
"github.com/mgerb/go-discord-bot/server/config"
"github.com/valyala/fasthttp"
)
var soundList []sound

View File

@@ -1,10 +1,11 @@
package handlers
import (
"../../config"
"github.com/valyala/fasthttp"
"io"
"os"
"github.com/mgerb/go-discord-bot/server/config"
"github.com/valyala/fasthttp"
)
func FileUpload(ctx *fasthttp.RequestCtx) {

View File

@@ -3,9 +3,9 @@ package webserver
import (
"log"
"../config"
"./handlers"
"github.com/buaazp/fasthttprouter"
"github.com/mgerb/go-discord-bot/server/config"
"github.com/mgerb/go-discord-bot/server/webserver/handlers"
"github.com/valyala/fasthttp"
)