Forum discussion tagged with discord.js.
  1. S

    Question Export value from SQLite query to another js file

    Hello there, I am trying to make a discord bot that uses SQLite that stores user id. In order to keep code clean, I have made a file called db.js where I store all my db functions const sql = require('sqlite3') let db = new sql.Database('./userdb.db', sql.OPEN_READWRITE, (err) => { if (err)...