Discord.js and databases (mysql)

Discord.js and databases (mysql)

I won’t be sharing any full code or snippets today, because I am exhausted from learning this topic. I spent the entire day studying and coding to get my bot up and running with a database connection. I am happy to say: IT’S WORKING ?!! The entire bot has been reconfigured and there are no longer any static channelIDs or anything. There are different configs for different guilds and config can be done by any admin on any guild. I have created three basic configs: Prefix, WelcomeChannel and LogChannel. Rather self explanatory I think.

If everything goes to plan I will be posting some basic code and info, regarding the Discord.js library and connecting to a mysql database, using sequelize (which is what I’m using).

Leave a Reply

Your email address will not be published. Required fields are marked *