command.run is not a function code example
Example: commandFile.run is not a function
const Discord = require('discord.js');
// Import other necessary libraries, require files, etc...
module.exports.run = async (bot, message, args) => {
...
};
module.exports.config = {
...
};