Facebook
From BurakReyizz, 3 Years ago, written in JavaScript.
This paste is a reply to Sunucudan Ayrıl from BurakReyizz - go back
Embed
Viewing differences between Sunucudan Ayrıl and Re: Sunucudan Ayrıl
//(node:24251) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'leave' of undefined 
// Bu Uyarıyı Alırsanız Bot O Sunucuda Yoktur. Merak Etmeyin Doğru ID yi yazınca Bot Düzelicektir.
// İyi Kullanımlar 
//Bu Kod Codare Ye Aittir.

const Discord = require('discord.js')
const client = new Discord.Client();
const db = require('quick.db')
exports.run = async (bot, message, args, client) => {
   const id = require('quick.db')
   if(message.author.id !== "517207555530031116") "ID") return message.channel.send(":x:Hey Sen Benim Sahibim Değilsin!:x:");

  let guildid = args[0]
  if(!guildid) return message.channel.send(':x:Ayrılınacak sunucunun id sini girmelisin!:x:')
bot.guilds.cache.get(guildid).leave();
const embed = new Discord.MessageEmbed()

.addField('İşlem Başarılı ',':white_check_mark: Başarıyla sunucudan Ayrıldım')
.addField(`Ayrıldığım Sunucunun İD si:`,`ID: ${guildid}`)
.setFooter('CodAre a Aittir.')
message.channel.send(embed)

}
exports.conf = {
  enabled:true,
  guildOnly:false,
  aliases : [],
  permLevel:0
};
exports.help = {
  name: 'sunucudan-ayrıl',
  description:'Belirtilen İD deki Sunucudan Ayrılır',
  usage:'sunucudan-ayrıl '
};

Replies to Re: Sunucudan Ayrıl rss

Title Name Language When
Re: Re: Sunucudan Ayrıl 'Łynx javascript 3 Years ago.