Skip to content

discord.opus.load_opus() #1691

Open
Open
@RedVersaMC

Description

@RedVersaMC

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:
OpusNotLoaded
Looking 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 /start command.

Intents

discord.Intents.all()

System Information

v2.2

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions