-
-
Notifications
You must be signed in to change notification settings - Fork 491
discord.opus.load_opus() #1691
Copy link
Copy link
Labels
on holdunconfirmed bugA bug report that needs triagingA bug report that needs triagingvoiceRelated to the voice chat featureRelated to the voice chat feature
Metadata
Metadata
Assignees
Labels
on holdunconfirmed bugA bug report that needs triagingA bug report that needs triagingvoiceRelated to the voice chat featureRelated to the voice chat feature
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
No status
Status
In Progress
Summary
Opus library is not loading.
Reproduction Steps
Copying the exact lines listed in this example, and replacing what is necessary to be applied to the regular bot, and error shows:
OpusNotLoadedLooking for solutions online, it seems like I would need to add the line
discord.opus.load_opus()to make it work, with no argument needed.But when I ran the code, the function needed an argument "name". No article provided a solution on how to get around this. Some suggested downloading a library, but that didn't work.
I opened up this issue on the Pycord Discord Server, but a helper suggested I open the issue on GitHub.
Minimal Reproducible Code
No response
Expected Results
Can take voice data and record it into a file.
Actual Results
Name is a required argument. Opus library isn't loaded. A traceback error of OpusNotLoaded appeared when I spoke in VC, running the
/startcommand.Intents
discord.Intents.all()
System Information
v2.2
Checklist
Additional Context
No response