Closed Deathwish11 closed 4 years ago
Issue-Label Bot is automatically applying the label question
to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
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
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
: usernameDB_PASS
: passwordIs there anything else i need to do other than that?
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.
ok thankyou!
[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.
resize: Time out occurred
The bot token is right, i just made sure of that
So im trying to host my bot on pterodactyl panel and im struggling a bit on what goes where was just wondering if you could help quickly? Im quite new to hosting online