if(command === 'example'){
client.commands.get('exaple').execute(message, args);
message.channel.send('https://i.redd.it/6nkyme7ayi631.jpg');
module.exports = {
name: 'example',
description: "this is a test command",
execute(message, args, Discord){
message.channel.send('https://i.redd.it/6nkyme7ayi631.jpg');
}
}
question from:https://stackoverflow.com/questions/65944798/so-im-trying-to-make-a-discord-bot-that-can-send-random-pictures-in-a-js-format