Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Opusscript?
Post Flair (click to view more posts with a particular flair)
Post Body

Hi everyone!

I wrote a musical bot which worked perfectly on my computer. So, I tried to execute it from my Raspberry, and I have an error.

Error: Cannot find module 'opusscript'

Obviously, I made some researches about this module, and here I have a problem. My computer is a Windows, and my Raspberry is running with Linux, and it seems this is the cause of the issue. Reading all the error message, the problem is in this code line:

player.play(createAudioResource(url))

So, does it mean I have to re-configure all my Raspberry? Does it mean I have to change the code? Or can I solve it with a single import?

Comments
[not loaded or deleted]

Try running npm install @discord.js/voice on the pi

[not loaded or deleted]

Try running npm install @discord.js/voice on the pi

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,311
Link Karma
701
Comment Karma
577
Profile updated: 6 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago