Comments (8)
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.
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.
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
: password
from bot.
Is there anything else i need to do other than that?
from bot.
You need to edit TOKEN
in that file, and you need to these in config.js
:
- guild
- support_role
- tickets.category
- storage.type (to your database server type)
Make sure you invite your bot to your server.
from bot.
ok thankyou!
from bot.
[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.
The bot token is right, i just made sure of that
from bot.
Related Issues (20)
- Separate internal and external origins for SvelteKit HOT 1
- [BUG] Ticket members
- [BUG] SyntaxError: Unexpected token < in JSON HOT 1
- [BUG] TypeError [InvalidType]: Supplied parameter is not a User nor a Role
- Web Page not working and showing a error HOT 2
- [BUG] Error: EACCES: permission denied, mkdir 'user/uploads' on docker swarm HOT 1
- Add Umeaboy as a contributor HOT 5
- [BUG] Invalid request body HOT 3
- [BUG] Working hours: `Cannot read properties of undefined (reading '0')` HOT 1
- [BUG] Time periods stored as milliseconds can be too large for the field type
- [BUG] Moving a ticket into a newly created category results in an error HOT 3
- Use custom status HOT 1
- Gateway sharding HOT 1
- Optional `opening_message` text
- Support Bot HOT 3
- Move some general settings to categories
- Editing categories resets command permission overrides
- `/new` with invalid `references` value causes unexpected error
- [BUG] Opening message preview can break the category settings page
- Add padding to ticket number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bot.