Full Error: /home/runner/RapidBotv1-1-2/src/Commands/Economy/daily.js:25 let time = ms(timeout - (Date.now() - daily)); ^ TypeError: ms is not a function at Object.run (/home/runner/RapidBotv1-1-2/src/Commands/Economy/daily.js:25:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Client. (/home/runner/RapidBotv1-1-2/src/Events/Message.js:20:5) Node.js v18.12.1 exit status 1 Command Code: const Discord = require("discord.js"); //const db = require("quick.db"); const ms = import("parse-ms"); const { QuickDB } = require('quick.db'); const db = new QuickDB(); // const { ParseMS } = require('parse-ms'); // const ms = new ParseMS(); module.exports = { name: "daily", description: "Get your daily coins", aliases: [], emoji: '💰', userperm: ['SEND_MESSAGES'], botperm: ['SEND_MESSAGES'], run: async(client, message, args) => { let user = message.author; let timeout = 86400000; let amount = 200; let daily = await db.get(`daily_${message.author.id}`); if (daily !== null && timeout - (Date.now() - daily) > 0) { let time = ms(timeout - (Date.now() - daily)); let timeEmbed = new Discord.MessageEmbed() .setColor("RANDOM") .setDescription(`:x: You've already collected your daily reward\n\nCollect it again in ${time.hours}h ${time.minutes}m ${time.seconds}s `); message.channel.send(timeEmbed) } else { let moneyEmbed = new Discord.MessageEmbed() .setColor("RANDOM") .setDescription(`:white_check_mark: You've collected your daily reward of ${amount} coins`); //message.channel.send(moneyEmbed) msg.channel.send({embeds: [moneyEmbed]}); db.add(`money_${message.author.id}`, amount) db.set(`daily_${message.author.id}`, Date.now()) } }}