我最近安装了 Discord.js 13.1.0,但我的音乐命令坏了,因为显然channel.join();它不是一个函数,尽管我已经在 12.5.3 上使用它几个月了……
有人知道解决这个问题吗?
我的加入命令的某些部分:
const { channel } = message.member.voice;
const voiceChannel = message.member.voice.channel;
await channel.join();
Run Code Online (Sandbox Code Playgroud)
它会导致错误。
我正在尝试安装FFMPEG以使用我的NodeJs服务器.我正在使用heroku-buildpack-multi插件:
heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
我.buildpacks在我的github存储库中创建了一个(没有extesion)文件.这包括:
https://github.com/jayzes/heroku-buildpack-ffmpeg
https://github.com/heroku/heroku-buildpack-nodej
每次我试图将我的更改推送到heroku时,这就是我得到的:
-----> Fetching custom git buildpack... failed
! Push rejected, error fetching custom buildpack
不幸的是,关于heroku上的ffmpeg安装没有太多信息.我在这里失踪了什么?