readme update

This commit is contained in:
AmokDev 2025-06-07 23:51:22 +03:00
parent 4bff5059d9
commit 82daeb512c
2 changed files with 6 additions and 3 deletions

View file

@ -52,3 +52,9 @@ let _ = client.send_payload(payload);
This sets-up a new Activity for the current Discord user:
<img alt="Discord Rich Presence" src="https://imgur.com/gf9pOen.png" width="300"/>
# Thanks for support
## Testers
| Windows | MacOS | Linux |
|---------------|-------------|----------|
| AmokDev (me) | hellkarm | doxbiner |

View file

@ -36,9 +36,6 @@ impl DiscordClient {
match UnixStream::connect(&path) {
Ok(socket) => {
// self.socket.set_nonblocking(true)?;
// self.socket.set_write_timeout(Some(time::Duration::from_secs(30)))?;
// self.socket.set_read_timeout(Some(time::Duration::from_secs(30)))?;
self.socket = Some(socket);
self.handshake().expect("Could not handshake.");
self.is_connected = true;