Discord.Py Opus Heroku 问题
Discord.Py Opus Heroku Issues
我在设置我的音乐机器人与 Heroku 一起工作时遇到问题。它在我的主机上工作得很好,但是,当我在 Heroku 中 运行 机器人时,我得到一个 "Opus Not Loaded" 错误。我已经有一个 ffmpeg 构建包(https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git), an apt buildpack (https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git) with the Aptfile fully setup (see below), and I have an opus buildpack (https://github.com/dubsmash/heroku-buildpack-opus.git)。我的 requirements.txt 文件
中也有 youtube_dl 和 discord.py[语音]
这是我的 Aptfile 的内容。
build-essential
unzip
software-properties-common
libopus-dev
libffi-dev
libsodium-dev
这是我的 requirements.txt 文件的内容
discord.py[voice]
youtube_dl
感谢任何帮助:)
Heroku 不支持发送出站 UDP 数据包。
图片来自官方discord.py服务器:
我在设置我的音乐机器人与 Heroku 一起工作时遇到问题。它在我的主机上工作得很好,但是,当我在 Heroku 中 运行 机器人时,我得到一个 "Opus Not Loaded" 错误。我已经有一个 ffmpeg 构建包(https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git), an apt buildpack (https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git) with the Aptfile fully setup (see below), and I have an opus buildpack (https://github.com/dubsmash/heroku-buildpack-opus.git)。我的 requirements.txt 文件
中也有 youtube_dl 和 discord.py[语音]这是我的 Aptfile 的内容。
build-essential
unzip
software-properties-common
libopus-dev
libffi-dev
libsodium-dev
这是我的 requirements.txt 文件的内容
discord.py[voice]
youtube_dl
感谢任何帮助:)
Heroku 不支持发送出站 UDP 数据包。
图片来自官方discord.py服务器: