JS script not working

client.on("message",async message=>{

    const Prefix = ('$');

    const args = message.content.slice(Prefix.length).split(/ + /)
    const command = args.shift().toLowerCase();

    if (command === 'play'){
        let track = await client.player.play(message.member.voice.channel,args[0], message.member.user.tag);
        message.channel.send(`Currently playing play_pause $(track.name) -- Requested by $(track.requestedBy)`)

    }

    if (command === 'stop'){
        let track = await client.player.stop(message.guild.id);
        message.channel.send('STOPPED')
    }


}
)```

not working yall se errors?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.