Basically, I am trying to create a discord.js/quick.db economy system and I tried making a simple balance command, using a tutorial for guidance, and this command won't execute, but no errors are showing in the logs.
I tried researching how to do it, following other tutorials, but it just leads me back to this error. I have already installed all the required packages for this.
const Discord = require('discord.js')
const db = require('quick.db')
module.exports.run = async (bot, message, args) => {
let bal = db.fetch(`money_${message.guild.id}_${message.author.id}`)
if (bal === null) bal = 0;
message.channel.send('You have a balance of `' + bal + '`')
}
I am receiving no errors, but the command just won't execute, I even searched the logs to make sure there were absolutely no errors, but nothing is showing up.