DataBase and Currency system issue #964
-
[I am stuck on database & currency system ](https://discordjs.guide/sequelize/currency.html#file-overview)Question |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The guide you linked includes those steps. Sequelize controls the connection to the database, and if you are using an sqlite file, will also create the database for you. If you are connecting to other types of databases, you'll have to look into the documentation for the database system you are trying to use. Generally speaking "doesn't seem to be working" is not enough information to guess based on where the error is. |
Beta Was this translation helpful? Give feedback.
The guide you linked includes those steps. Sequelize controls the connection to the database, and if you are using an sqlite file, will also create the database for you. If you are connecting to other types of databases, you'll have to look into the documentation for the database system you are trying to use.
Generally speaking "doesn't seem to be working" is not enough information to guess based on where the error is.
If your bot does generally not respond to gateway events, make sure you are handling everything correctly and log or inspect the conditional returns/pathways your code execution can take.