Removed unused func

This commit is contained in:
Bruce Marriner 2016-06-17 13:56:01 -05:00
parent 5322552229
commit 6c4d9f0ad7

View file

@ -52,26 +52,6 @@ func waitBoolEqual(timeout time.Duration, check *bool, want bool) bool {
} }
} }
// Checks if we're connected to Discord
func isConnected() bool {
if dg == nil {
return false
}
if dg.Token == "" {
return false
}
// Need a way to see if the ws connection is nil
if !waitBoolEqual(10*time.Second, &dg.DataReady, true) {
return false
}
return true
}
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////// START OF TESTS /////////////////////////////////////////////////////////////// START OF TESTS