Explorar el Código

Use the right websockets.

Bruce Marriner hace 9 años
padre
commit
f789b29a8d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      structs.go

+ 3 - 1
structs.go

@@ -1,9 +1,11 @@
 package discordgo
 
 import (
+	"encoding/json"
 	"net"
+	"time"
 
-	"golang.org/x/net/websocket"
+	"github.com/gorilla/websocket"
 )
 
 // TODO: Eventually everything here gets moved to a better place.