1.2.0 • Published 3 years ago
discord-js-tr v1.2.0
discord-js-tr
const Discord = require("discord.js-tr")
const bot = new Discord.Client("token")
bot.aktif(() =>{
console.log(bot.isim + " Aktif")
})
bot.mesaj(mesaj => {
if(mesaj.kanal.id = "kanal id") {
if(mesaj.yazi === "!ping"){
mesaj.yolla(`${mesaj.yazan.id} pingim; ${bot.gecikme}`)
}
}
})