Browse Source

Use the right websockets.

Bruce Marriner 9 năm trước cách đây
mục cha
commit
f789b29a8d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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.