I'm very new to js/discord js and I want to make a basic discord bot that sends a picture of a capybara to a channel every hour but I have no idea how, I have one that sends the same phrase every hour so I'm assuming it stops sending random images from the search "capybara" in google images could be relatively similar.
client.on('ready', () => {
var testChannel = client.channels.cache.find(channel => channel.id === '1034340669197668432');
setInterval(() => {
testChannel.send("Te pisan Dennis");
}, 1800000);
});
I have tried to find a code that I can understand to use as a base but I have not had any luck