Compare commits
2 commits
136d617e6f
...
5ea94e5453
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ea94e5453 | |||
| 82daeb512c |
2 changed files with 6 additions and 3 deletions
|
|
@ -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 |
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue