Bot not playing audio

Discussion in 'General Support' started by NevahDie, May 11, 2019.

  1. NevahDie

    NevahDie New Member

    Joined:
    Sep 22, 2018
    Messages:
    11
    Likes Received:
    0
    I have followed all steps is Lasse's "Search Song on YouTube" tutorial, but the bot doesn't play the audio after I request it.
    {
    "name": "play",
    "permissions": "NONE",
    "restriction": "1",
    "_id": "wLFXj",
    "actions": [
    {
    "message": "0",
    "varName": "",
    "info": "1",
    "ParamN": "1",
    "separator": "",
    "storage": "1",
    "varName2": "videoiwant",
    "name": "Store Message Params"
    },
    {
    "type": "0",
    "input": "${tempVars(\"videoiwant\")}",
    "info0": "1",
    "info1": "1",
    "apikey": "AIzaSyAub39ynYTweOEnVj6MCdbW-CxN99COEPE",
    "results": "1",
    "storage": "1",
    "varName": "videourl",
    "name": "YouTube Search"
    },
    {
    "type": "0",
    "input": "${tempVars(\"videoiwant\")}",
    "info0": "2",
    "info1": "1",
    "apikey": "AIzaSyAub39ynYTweOEnVj6MCdbW-CxN99COEPE",
    "results": "1",
    "storage": "1",
    "varName": "name",
    "name": "YouTube Search"
    },
    {
    "channel": "0",
    "varName": "",
    "name": "Join Voice Channel"
    },
    {
    "url": "${tempVars(\"videourl\")}",
    "seek": "0",
    "volume": "75",
    "passes": "1",
    "bitrate": "",
    "type": "0",
    "name": "Play YouTube Video"
    },
    {
    "channel": "0",
    "varName": "",
    "message": "Now playing **${tempVars(\"name\")}**",
    "storage": "0",
    "varName2": "",
    "iffalse": "0",
    "iffalseVal": "",
    "name": "Send Message"
    }
    ]
    }
    I also have node.js installed and am running the bot through doing "node bot.js" in the cmd of project directory.


     
  2. scott zangenberg

    scott zangenberg New Member

    Joined:
    May 11, 2019
    Messages:
    8
    Likes Received:
    0
    do u get any errors in the command prompt, if so what are they, does the bot join the voice channel but not play any audio or does it do nothing, have u tryed launching it in the app and if so do u get the same error?
     
  3. NevahDie

    NevahDie New Member

    Joined:
    Sep 22, 2018
    Messages:
    11
    Likes Received:
    0
    no errors in the command prompt. It joins the vc, but doesn't play audio. And I can't launch the bot from my app because it says i need to install npm. the only thing it says in command prompt after starting it is "bot is ready"
     
  4. scott zangenberg

    scott zangenberg New Member

    Joined:
    May 11, 2019
    Messages:
    8
    Likes Received:
    0
    try playing one song then waiting some time and see cuz sometime it has to install all the stuff
     

Share This Page