-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Provided example doesn't work #2
Comments
The example works completely fine on my end. Could you elaborate on your environment at runtime (i.e. system, Discord version, etc)? |
I am running the program using wsl, using the stable build, I have the discord desktop client on while I am running the program. |
Ah. The issue is that you're trying to run it in WSL. While it's possible to communicate with Windows named pipes from the Linux subsystem in WSL 1, the same cannot be done in WSL 2. With the amount of work it requires to get even WSL 1 working in such a manner, your best bet is unfortunately likely to be developing on Windows, or in a full installation of Linux. |
Well, shortly after i decided to go full linux and it still does not work getting the same error here, Maybe the prob is ubuntu as its the only same thing between the 2 environments |
If that's the case, and the error is still appearing even when you run the example while Discord is open, then my best guess is that it would have to be an issue beyond the crate itself (i.e. with how you're running it, your system setup, etc). As for Ubuntu, it has been successfully tested before, so I can't imagine that's the root issue here. |
I'm running this on vanilla Ubuntu 22.04 and am receiving the same error message. Desktop Discord client:
|
The example in the readme does not work, even tried using different Application IDs but still get the error
The text was updated successfully, but these errors were encountered: