Discord bot v14 meme

avatar cabbar
Forum Üyesi
19-10-2022, Saat: 18:25
304
#1
Yorumu Paylaş

Kod:
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"
}
Beğenenler : spector
deneme
Forum Üyesi

Konuda Ara

2 Yorum

spector

Forum Sorumlusu

Forum Sorumlusu
avatar
spector
19-10-2022, Saat: 18:26
19-10-2022, Saat: 18:26
#2
Yorumu Paylaş
Teşekkürler.


Destek almak için BURAYA TIKLAYABİLİRSİNİZ.

Denizbilen

Gold

Gold Üye
avatar
Denizbilen
19-10-2022, Saat: 18:26
19-10-2022, Saat: 18:26
#3
Yorumu Paylaş
Sağolun


Konuyu Okuyanlar:
1 Ziyaretçi