Skip to content

Loading opus and sodium for voice #350

Description

@IWasAllen

Every time I use the function channel:join(), it works perfectly fine as the bot joins the specific channel. However, I'm getting an output of libopus not found which make me worry. I already have the lib for opus and sodium and they're .so file extensions due to me being in Linux.

Using the voice document template, this is my current source code:

local discordia = require('discordia')
local client = discordia.Client()

client:on('ready', function()
    local channel = client:getChannel('975077088103116891')
    local connection = channel:join()
    connection:close()
end)

-- The rest are just the bot token logging in

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions