func (c *Client) Disconnect() (err error) {
	fmt.Println() // to keep ^C on it's own line
	c.logInfo("Closing Discord gateway connection")
	c.evtDispatch.stop()
	err = c.ws.Disconnect()
	if err != nil {
		c.logErr(err.Error())
		return
	}
	c.logInfo("Disconnected")

	return nil
}
// Disconnect closes the discord websocket connection
Disconnect closes the discord websocket connection
// Disconnect closes the discord websocket connection
func (c *Client) Disconnect() (err error) {
	fmt.Println() 
	c.logInfo("Closing Discord gateway connection")
	c.evtDispatch.stop()
	err = c.ws.Disconnect()
	if err != nil {
		c.logErr(err.Error())
		return
	}
	c.logInfo("Disconnected")
	return nil
}
func ( c * Client ) Disconnect ( ) ( err error ) { fmt . Println ( ) c . logInfo ( " " ) c . evtDispatch . stop ( ) err = c . ws . Disconnect ( ) if err != nil { c . logErr ( err . Error ( ) ) return } c . logInfo ( " " ) return nil }
Disconnect closes the discord websocket connection
Disconnect closes the discord websocket connection
// to keep ^C on it's own line