Library: discord.js
Library version: 13.1
Node.js version >= 16
Mysql server
Open cmd on you directory, run command npm i.
Open the .env file and in TOKEN put your bot's token, in DB_HOST put your mysql server host, in DB_USER the mysql server user, DB_PASS the password and DB_DATABASE the name of your database!
Open cmd on you directory and run command node index.js!
Credits: Thunderte#0001