Giter VIP home page Giter VIP logo

Comments (10)

HiVise avatar HiVise commented on August 28, 2024

Hey! I'm going to give a stab at this error you are having right now.

I am seeing the same error on my end and I am looking into it right now...

from automod-bot.

HiVise avatar HiVise commented on August 28, 2024

Hello, This issue is fixed and no more errors for:
TypeError: Node option "host" must be present and be a non-empty string.

I did add a way for the bot to start without the host music array in the config being filled out.

I would like to note that music will not work without /automod-bot/config.json being fill out with the proper information.

This is what the Music tab should look like in /automod-bot/config.json

Fix:

Within the MusicManager.js file there was a line of code looking like this:
Line: 30 | nodes: MUSIC.NODES.HOST

I have changed that to look a little like this:
Line: 30 | nodes: MUSIC.NODES.HOST ? MUSIC.NODES.HOST : [],

I did also add a Logger if you don't have anything in there it should log that info to the console.

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

Thank you for this

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

btw could you tell me where you put the invite link perms because i found 1 place where you made it in the code and changed it but when i do /bot invite or /help ... it just keeps giving me the perms that you guys made into the link

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

and how do i make it so i can play music

from automod-bot.

HiVise avatar HiVise commented on August 28, 2024

yea, If you want to play music on the bot please go to the Config.json file in the main directory and fill out the "Music" Array of data. Without this, it wouldn't be possible to play some music.

Music Config Array:
image

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

I filled it out but it says it doesnt have nodes

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

maybe i putted it wrong but what do you need to put with the host and identifier

from automod-bot.

HiVise avatar HiVise commented on August 28, 2024

I believe that you need it all being:

host, password, and Identifier.

I only know so much about the bot because I just worked for 20 minutes yesterday to fix one bug.

from automod-bot.

ultra-beep avatar ultra-beep commented on August 28, 2024

from automod-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.