EmbarkStudios / discord-sdk

An open implementation of the Discord Game SDK in Rust
Apache License 2.0
150 stars 10 forks source link

Unable to connect to \\?\pipe\discord-ipc-XXX #37

Closed diniremix closed 7 months ago

diniremix commented 7 months ago

Describe the bug on Windows 10, when I run the application, it generates a connection error, using IPC

To Reproduce the application takes as an example this examples/activity

Screenshots

Device:

Additional context it seems to be related to the use of socat, there is an example in this repo but for Gnu/Linux

thanks!

Jake-Shadle commented 7 months ago

You need discord to be running.

diniremix commented 7 months ago

thank!, it is works!

two questions before closing this issue...

Jake-Shadle commented 7 months ago

From your example it seems you want to make a discord bot with Rust? This project can't be made to create bots, it's a library for integrating an application with discord. For bot creation you can look at serenity.