I am trying to make a bot with Eris and I need it to be able to call people in direct messaging. This is what I came up with, but clearly, I'm missing something as it does not work.
if (contacts[name].dm) { const channel = await bot.getDMChannel(contacts[name].id) await channel.ring([contacts[name].id]) }else{ bot.joinVoiceChannel(contacts[name].id) } https://stackoverflow.com/questions/66593195/call-a-user-directly-using-eris-discord-js March 12, 2021 at 10:06AM
没有评论:
发表评论