File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
)
14
14
15
15
// NewServer creates a new server manager
16
- func NewServer (guildID string , clients Clients ) * Server {
16
+ func NewServer (guildID string , clients * Clients ) * Server {
17
17
return & Server {
18
18
Queue : queue .NewQueue (),
19
19
Custom : make (map [string ]* database.CustomCommand ),
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ type Server struct {
55
55
// Whether the DJ mode is enabled
56
56
DjMode bool
57
57
// Clients used for interacting with the various APIs
58
- Clients Clients
58
+ Clients * Clients
59
59
}
60
60
61
61
// YtDLP structure for holding yt-dlp data
Original file line number Diff line number Diff line change 6
6
7
7
func initializeServer (guild string ) {
8
8
if _ , ok := server [guild ]; ! ok {
9
- server [guild ] = manager .NewServer (guild , clients )
9
+ server [guild ] = manager .NewServer (guild , & clients )
10
10
}
11
11
}
You can’t perform that action at this time.
0 commit comments