Added request for user list
This commit is contained in:
parent
4ae529de85
commit
945974670c
3
test.go
3
test.go
|
@ -43,7 +43,8 @@ func (t TestSettings) testYoutubeSong() {
|
|||
// if err := dummyClient.Connect(); err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
dummyUser := dj.client.Users.Find("bottleotoast")
|
||||
dj.client.Request(gumble.Request.RequestUserList)
|
||||
dummyUser := dj.client.Users.Find("BottleOToast")
|
||||
if dummyUser == nil {
|
||||
fmt.Printf("User does not exist, printing users\n")
|
||||
for _, user := range dj.client.Users {
|
||||
|
|
Reference in a new issue