v14 kodlayanlar için ingilizce dilinde memes komutu yaptim.random ingilizce meme atar.komutlar dosyasına atın.
const Discord = require('discord.js'); const axios = require('axios'); exports.run = async (client, message, args) => { axios({ method: 'get', url: "https://some-random-api.ml/meme" }).then(async image => { const attachment = new Discord.AttachmentBuilder(image.data.image) return message.channel.send({files: [attachment]}).catch(err => {}) }) } exports.conf = { aliases: [] } exports.help = { name: "memes" }
https://github.com/umutxyp/discordJS-V14