Git Product home page Git Product logo

Comments (8)

issue-label-bot avatar issue-label-bot commented on August 16, 2024 3

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from bot.

Deathwish11 avatar Deathwish11 commented on August 16, 2024

Ive got the database connection details and theres loads of things which i dont know where to put

  • Endpoint

  • CONNECTION FROM

  • USERNAME

  • PASSWORD

  • JBDC CONNECTION STRING

from bot.

eartharoid avatar eartharoid commented on August 16, 2024

Unless you're using SQLite (default, no database server required), you need to set the DB_ values in .env.

  • DB_HOST: server IP - host:port (you can skip :port if it's the default)
  • DB_NAME: name of the database (eg. "discord_bots")
  • DB_USER: username
  • DB_PASS: password

from bot.

Deathwish11 avatar Deathwish11 commented on August 16, 2024

Is there anything else i need to do other than that?

from bot.

eartharoid avatar eartharoid commented on August 16, 2024

You need to edit TOKEN in that file, and you need to these in config.js:

Make sure you invite your bot to your server.

from bot.

Deathwish11 avatar Deathwish11 commented on August 16, 2024

ok thankyou!

from bot.

Deathwish11 avatar Deathwish11 commented on August 16, 2024

[23:36:38 | LOGGER] Initialising logger (v2.0.5)
[23:36:38 | LOGGER] Preparing log file ("./logs/2020-10-16.log")
[23:36:39 | INFO] Connecting to MySQL database...
[23:36:39 | INFO] > Loaded debug event
[23:36:39 | INFO] > Loaded error event
[23:36:39 | INFO] > Loaded message event
[23:36:39 | INFO] > Loaded messageDelete event
[23:36:39 | INFO] > Loaded messageReactionAdd event
[23:36:39 | INFO] > Loaded messageUpdate event
[23:36:39 | INFO] > Loaded rateLimit event
[23:36:39 | INFO] > Loaded ready event
[23:36:39 | INFO] > Loaded warn event
[23:36:39 | INFO] > Loaded -add command
[23:36:39 | INFO] > Loaded -close command
[23:36:39 | INFO] > Loaded -delete command
[23:36:39 | INFO] > Loaded -help command
[23:36:39 | INFO] > Loaded -new command
[23:36:39 | INFO] > Loaded -panel command
[23:36:39 | INFO] > Loaded -remove command
[23:36:39 | INFO] > Loaded -rename command
[23:36:39 | INFO] > Loaded -stats command
[23:36:39 | INFO] > Loaded -tickets command
[23:36:39 | INFO] > Loaded -topic command
[23:36:39 | INFO] > Loaded -transcript command
[23:36:39 | INFO] Loaded 9 events and 12 commands
[23:36:39 | WARN] An error was not caught
[23:36:39 | WARN] Uncaught Error [TOKEN_INVALID]: An invalid token was provided.
[23:36:39 | ERROR] Error [TOKEN_INVALID]: An invalid token was provided.
at Client.login (/home/container/node_modules/discord.js/src/client/Client.js:205:52)
at Object. (/home/container/src/index.js:163:8)
at Module._compile (internal/modules/cjs/loader.js:1251:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1272:10)
at Module.load (internal/modules/cjs/loader.js:1100:32)
at Function.Module._load (internal/modules/cjs/loader.js:962:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
[23:36:39 | WARN] An error was not caught
[23:36:39 | WARN] Uncaught SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
[23:36:39 | ERROR] SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
at ConnectionManager.connect (/home/container/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:116:17)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ConnectionManager._connect (/home/container/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:318:24)
at async /home/container/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:250:32
[23:36:39 | WARN] An error was not caught
[23:36:39 | WARN] Uncaught SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
[23:36:39 | ERROR] SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
at ConnectionManager.connect (/home/container/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:116:17)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ConnectionManager._connect (/home/container/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:318:24)
at async /home/container/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:250:32
[23:36:40 | NOTICE] There is an update available for Discord Tickets (v2.0.1 -> v2.1.1)

resize: Time out occurred

from bot.

Deathwish11 avatar Deathwish11 commented on August 16, 2024

The bot token is right, i just made sure of that

from 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.