I'm getting the error in this specific block of code
if(!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();
if(command === 'ping'){
client.commands.get('ping').execute(message, args);
} else if (command == 'reactionroles'){
client.commands.get('reactionroles').execute(message, args, Discord, client);
}
});
I had to put the code for reactionroles.js into a pastebin. https://pastebin.com/tYebDG4Y