Trying to work out why it cannot find user
This commit is contained in:
parent
02b46e6a96
commit
13fc08ad69
2
test.go
2
test.go
|
@ -43,7 +43,7 @@ func (t TestSettings) testYoutubeSong() {
|
||||||
// if err := dummyClient.Connect(); err != nil {
|
// if err := dummyClient.Connect(); err != nil {
|
||||||
// panic(err)
|
// panic(err)
|
||||||
// }
|
// }
|
||||||
dummyUser := dj.client.Users.Find("BottleOToast")
|
dummyUser := dj.client.Users.Find("bottleotoast")
|
||||||
if dummyUser == nil {
|
if dummyUser == nil {
|
||||||
fmt.Printf("User does not exist")
|
fmt.Printf("User does not exist")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Reference in a new issue