Version 0.7.0 - Add Improvements

This commit is contained in:
Raphix
2023-08-30 15:22:13 +02:00
parent 5f3dd3160d
commit 47c5608cf4
7 changed files with 149 additions and 34 deletions

View File

@ -197,12 +197,19 @@ module.exports.SPECIAL_MJ = async function (client, userId) {
let player = client.manager.players.get("137291455336022018")
var memberVoices = discord.getMemberVoices()
var channelId = memberVoices.get(userId)
if(!channelId) {
channelId = "664355808250953739"
}
if(!player) {
player = client.manager.create({
guild: "137291455336022018",
voiceChannel: memberVoices.get(userId),
voiceChannel: channelId,
textChannel: "664355637685256203",
});