Facebook
From CerBeruS, 10 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 98
  1. /*
  2.    ___ _________    ____   ___ _____   _       _ ___ _____ _____ __  __
  3.   ( _ )___ /___ \  | __ ) / _ \_   _| | |     | |_ _|_   _| ____|  \/  |
  4.   / _ \ |_ \ __) | |  _ \| | | || |   | |  _  | || |  | | |  _| | |\/| |
  5.  | (_) |__) / __/  | |_) | |_| || |   | | | |_| || |  | | | |___| |  | |
  6.   \___/____/_____| |____/ \___/ |_|   | |  \___/|___| |_| |_____|_|  |_|
  7.                                       |_|                              
  8. */
  9.  
  10. const botconfig = require("./botconfig.json");
  11. const Discord = require("discord.js");
  12. const figlet = require('figlet');
  13. const request = require('request');
  14. const validate = require('ytdl-core');
  15. const ascii = require("moment");
  16. const steam = require('steam-provider')
  17. let provider = new steam.SteamProvider();
  18.  
  19. const bot = new Discord.Client({disableEveryone: true});
  20.  
  21. bot.on("ready", async () => {
  22.         console.log(`${bot.user.username} ┼čuan aktif!`);
  23.  
  24.         bot.user.setActivity('832 | JITEM - 8!komutlar');
  25.  
  26. });
  27.  
  28. bot.on("message", async message => {
  29.        
  30.   if(message.author.bot) return;
  31.   if(message.channel.type === "dm") return;
  32.  
  33.   let prefix = botconfig.prefix;
  34.   let messageArray = message.content.split(" ");
  35.   let cmd = messageArray[0];
  36.   let args = messageArray.slice(1);
  37.  
  38.   if(cmd === `${prefix}kick`) {
  39.         let kUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  40.     if(!kUser) return message.channel.send(":warning: Atmak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!kick @832 BOT``");
  41.     let kReason = args.join(" ").slice(22);
  42.     if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  43.     if(kUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ atamam.");
  44.         if(kUser.id == message.author.id) return message.channel.send(":warning: Kendini atamazs─▒n.");
  45.        
  46.     let kickEmbed = new Discord.RichEmbed()
  47.     .setDescription("832 BOT - Kick Bilgi")
  48.     .setColor("#990000")
  49.     .addField("At─▒lan Kullan─▒c─▒", `${kUser}`)
  50.     .addField("Atan Y├Ânetici", `${message.author.username}`)
  51.     .addField("Zaman", message.createdAt)
  52.         .setFooter("832 BOT | JITEM");
  53.     message.guild.member(kUser).kick(kReason);
  54.     message.channel.send(kickEmbed);
  55.  
  56.   }
  57.  
  58.   if(cmd === `${prefix}ban`) {
  59.         let bUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  60.     if(!bUser) return message.channel.send(":warning: Yasaklamak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!ban @832 BOT``");
  61.     let bReason = args.join(" ").slice(22);
  62.     if(!message.member.hasPermission("MANAGE_MEMBERS")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  63.     if(bUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ yasaklayamam.");
  64.         if(bUser.id == message.author.id) return message.channel.send(":warning: Kendini yasaklayamazs─▒n.");
  65.  
  66.     let banEmbed = new Discord.RichEmbed()
  67.     .setDescription("832 BOT - Ban Bilgi")
  68.     .setColor("#990000")
  69.      .addField("Yasaklanan Kullan─▒c─▒", `${bUser}`)
  70.     .addField("Yasaklayan Y├Ânetici", `${message.author.username}`)
  71.     .addField("Zaman", message.createdAt)
  72.         .setFooter("832 BOT | JITEM");
  73.     message.guild.member(bUser).ban(bReason);
  74.     message.channel.send(banEmbed);
  75.  
  76.   }
  77.  
  78.   if(cmd === `${prefix}sustur`) {
  79.         let sustur = message.guild.roles.find("name", "Mute");
  80.         let sUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  81.     if(!sUser) return message.channel.send(":warning: Susturmak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!sustur @832 BOT``");
  82.     if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  83.     if(sUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ susturamam.");
  84.         if(sUser.id == message.author.id) return message.channel.send(":warning: Kendini susturamazs─▒n.");
  85.  
  86.     let muteEmbed = new Discord.RichEmbed()
  87.     .setDescription("832 BOT - Mute Bilgi")
  88.     .setColor("#990000")
  89.      .addField("Susturulan Kullan─▒c─▒", `${sUser}`)
  90.     .addField("Susturan Y├Ânetici", `${message.author.username}`)
  91.     .addField("Zaman", message.createdAt)
  92.         .setFooter("832 BOT | JITEM");
  93.           message.guild.member(sUser).addRole(sustur);
  94.           message.channel.send(muteEmbed);
  95.   }
  96.  
  97.   if(cmd === `${prefix}sunucubilgisi`){
  98.     let sicon = message.guild.iconURL;
  99.         let day = message.guild.createdAt.getDate()
  100.         let month = 1 + message.guild.createdAt.getMonth()
  101.         let year = message.guild.createdAt.getFullYear()
  102.     let serverembed = new Discord.RichEmbed()
  103.     .setDescription("JITEM - Sunucu Bilgisi")
  104.     .setColor("#990000")
  105.     .setThumbnail(sicon)
  106.     .addField("Sunucu ─░smi", message.guild.name, true)
  107.     .addField("Kurucusu", message.guild.owner, true)
  108.         .addField('Sunucu B├Âlgesi', message.guild.region, true)
  109.     .addField("Kurulu┼č Tarihi", `${day}.${month}.${year}`, true)
  110.     .addField("Sunucu ID", "414892273684316161", true)
  111.         .addField("Toplam Rol", message.guild.roles.size, true)
  112.     .addField("Toplam Kullan─▒c─▒", message.guild.memberCount, true)
  113.         .addField('Toplam Kanal', message.guild.channels.size, true)
  114.         .setFooter("832 BOT | JITEM");
  115.  
  116.     return message.channel.send(serverembed);
  117.   }
  118.  
  119.   if(cmd === `${prefix}jitembilgisi`){
  120.          
  121.         let sicon = message.guild.iconURL;
  122.     let jitemembed = new Discord.RichEmbed()
  123.     .setDescription("JITEM - Klan─▒ Hakk─▒nda")
  124.     .setColor("#990000")
  125.         .setThumbnail(sicon)
  126.     .addField("Kurucumuz", "Yesil", true)
  127.     .addField("Bulundu─čumuz Sunucular", "─░nferno Freeroam `server.infernotr.net - www.infernotr.com`", true)
  128.     .addField("Toplam ├ťye Say─▒s─▒", "17", true)
  129.     .addField("Toplam Genel Ba┼čkan", "1", true)
  130.     .addField("Toplam Ba┼č Vekil", "1", true)
  131.     .addField("Toplam Genel Ba┼čkan Vekili", "2", true)
  132.     .addField("Toplam Vekil Sekreteri", "2", true)
  133.     .addField("Toplam S├Âzc├╝", "2", true)
  134.     .addField("Kurulu┼č Y─▒l─▒", "2015", true)
  135.         .addField("WebSite", "``'Yak─▒nda'``", true)
  136.         .addField("Forum", "``'Yak─▒nda'``", true)
  137.         .addField(`PawnoTurk Konumuz`, `https://www.pawnoturk.com/forum/topluluklar/tekrardan-yukselen-bir-ses-'jitem-!'/)`)
  138.         .setFooter("832 BOT | JITEM");
  139.  
  140.     return message.channel.send(jitemembed);
  141.   }
  142.  
  143.  
  144.   if(cmd === `${prefix}botbilgisi`){
  145.  
  146.     let bicon = bot.user.displayAvatarURL;
  147.     let botembed = new Discord.RichEmbed()
  148.     .setDescription("832 BOT - Bilgi")
  149.     .setColor("#990000")
  150.     .setThumbnail(bicon)
  151.     .addField("Bot ─░smi", bot.user.username, true)
  152.     .addField("Sahip", "JITEM#0001", true)
  153.     .addField("Bot Amac─▒", "832 Bot JITEM klan─▒ taraf─▒ndan tasarlanm─▒┼čt─▒r. Ve sadece JITEM Discord sunucular─▒ ├╝zerinde kullan─▒ma a├ž─▒kt─▒r. Ba┼čka bir discord sunucusunda kullan─▒lamaz.", true)
  154.     .addField("Prefix", "'8!'", true)
  155.     .addField("Yap─▒m Tarihi", "29/01/2019 - 00:45", true)
  156.         .setFooter("832 BOT | JITEM");
  157.    
  158.  
  159.  
  160.     return message.channel.send(botembed);
  161.   }
  162.  
  163.   if(cmd === `${prefix}komutlar`){
  164.  
  165.     let bicon = bot.user.displayAvatarURL;
  166.     let botembed = new Discord.RichEmbed()
  167.     .setDescription("832 BOT - Komutlar")
  168.     .setColor("#990000")
  169.     .setThumbnail(bicon)
  170.     .addField("┬╗ Y├Ânetici Komutlar─▒", "``8!y├Ânetici``")
  171.         .addField("┬╗ E─člence Komutlar─▒", "``8!e─člence``")
  172.         .addField("┬╗ Genel Bot Komutlar─▒", "``8!genel``")
  173.         .setFooter("832 BOT | JITEM");
  174.    
  175.  
  176.  
  177.     return message.channel.send(botembed);
  178.   }
  179.  
  180.   if(cmd === `${prefix}genel`){
  181.  
  182.     let bicon = bot.user.displayAvatarURL;
  183.     let botembed = new Discord.RichEmbed()
  184.     .setDescription("832 BOT - Genel Komutlar")
  185.     .setColor("#990000")
  186.     .setThumbnail(bicon)
  187.     .addField("┬╗ 8!botbilgisi", "Bot bilgilerini g├Âsterir.", true)
  188.         .addField("┬╗ 8!sunucubilgisi", "Sunucu bilgilerini g├Âsterir.", true)
  189.         .addField("┬╗ 8!jitembilgisi", "JITEM Genel klan bilgilerini g├Âsterir.", true)
  190.         .addField("┬╗ 8!avatar", "Etiketledi─činiz kullan─▒c─▒n─▒n avatar─▒n─▒z─▒ g├Âsterir.", true)
  191.         .addField("┬╗ 8!yard─▒m", "Bot hakk─▒nda size yard─▒m mesajlar─▒ g├Ânderir.", true)
  192.         .addField("┬╗ 8!yazd─▒r", "Botun ad─▒na chata bir ┼čeyler yazars─▒n─▒z.", true)
  193.         .addField("┬╗ 8!steamoyun", "Yazd─▒─č─▒n─▒z oyun hakk─▒nda steam'dan bilgi verileri g├Ânderir.", true)
  194.         .addField("┬╗ 8!topsunucu", "Yazd─▒─č─▒n─▒z oyun hakk─▒nda steam'dan bilgi verileri g├Ânderir.", true)
  195.         .setFooter("832 BOT | JITEM");
  196.    
  197.  
  198.  
  199.     return message.channel.send(botembed);
  200.   }
  201.  
  202.    if(cmd === `${prefix}e─člence`){
  203.  
  204.     let bicon = bot.user.displayAvatarURL;
  205.     let botembed = new Discord.RichEmbed()
  206.     .setDescription("832 BOT - E─člence Komutlar─▒")
  207.     .setColor("#990000")
  208.     .setThumbnail(bicon)
  209.     .addField("┬╗ 8!bangif", "Admin ban gif'i g├Ânderir.", true)
  210.         .addField("┬╗ 8!ka├žcm", "Malafat─▒n ka├ž santimetre oldu─čunu g├Âsterir.", true)
  211.         .addField("┬╗ 8!espri", "├çe┼čit ├že┼čit espri g├Ânderir.", true)
  212.         .addField("┬╗ 8!yemekye", "Yemek yeme gif'i g├Ânderir.", true)
  213.         .addField("┬╗ 8!caps", "├çe┼čit ├že┼čit caps g├Ânderir.", true)
  214.         .addField("┬╗ 8!k├Âpek", "├çe┼čit ├že┼čit k├Âpek gif'i g├Ânderir.", true)
  215.         .addField("┬╗ 8!kedi", "├çe┼čit ├že┼čit kedi gif'i g├Ânderir.", true)
  216.         .addField("┬╗ 8!lotto", "┼×ansl─▒ oldu─čunuz lotto numaras─▒n─▒ g├Âsterir.", true)
  217.         .addField("┬╗ 8!┼čansl─▒g├╝n", "┼×ansl─▒ oldu─čunuz g├╝n├╝ g├Âsterir.", true)
  218.         .addField("┬╗ 8!ascii", "┼×ekilli yaz─▒ yazar.", true)
  219.         .addField("┬╗ 8!├žekili┼č", "Sunucu i├žerisinde random ├žekili┼č yapar.")
  220.         .setFooter("832 BOT | JITEM");
  221.    
  222.  
  223.  
  224.     return message.channel.send(botembed);
  225.   }
  226.  
  227.   if(cmd === `${prefix}y├Ânetici`){
  228.  
  229.     let bicon = bot.user.displayAvatarURL;
  230.     let botembed = new Discord.RichEmbed()
  231.     .setDescription("832 BOT - Y├Ânetici Komutlar─▒")
  232.     .setColor("#990000")
  233.     .setThumbnail(bicon)
  234.     .addField("┬╗ 8!clear", "Mesajlar─▒ siler.", true)
  235.         .addField("┬╗ 8!duyuru", "Sunucu i├žinde duyuru yapar.", true)
  236.         .addField("┬╗ 8!ban", "Etiketlenen kullan─▒c─▒y─▒ yasaklar.", true)
  237.         .addField("┬╗ 8!kick", "Etiketlenen kullan─▒c─▒y─▒ tekmeler.", true)
  238.         .setFooter("832 BOT | JITEM");
  239.    
  240.  
  241.  
  242.     return message.channel.send(botembed);
  243.   }
  244.  
  245.   if(cmd === `${prefix}avatar`) {
  246.       let user;
  247.         // If the user mentions someone, display their stats. If they just run userinfo without mentions, it will show their own stats.
  248.     if (message.mentions.users.first()) {
  249.       user = message.mentions.users.first();
  250.     } else {
  251.         user = message.author;
  252.     }
  253.         // Define the member of a guild.
  254.     const member = message.guild.member(user);
  255.     let avatar = user.displayAvatarURL;
  256.         let avatarembed = new Discord.RichEmbed()
  257.             .setColor("#990000")
  258.             .setImage(avatar);
  259.         message.channel.send(avatarembed);
  260.     }
  261.  
  262.   if(cmd === `${prefix}clear`) {
  263.       if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkiniz yok.");
  264.               if(!args[0]) return message.channel.send(":warning: Silmek istedi─činiz mesaj say─▒s─▒n─▒ girin. ├ľrnek: ``!clear 10``");
  265.                         message.channel.bulkDelete(args[0]).then(() => {
  266.                         message.channel.send(`:white_check_mark: ${args[0]} mesaj silindi.`).then(msg => msg.delete(2000));
  267.                 });
  268.   }
  269.    
  270.   if(cmd === `${prefix}temizle`) {
  271.       if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  272.               if(!args[0]) return message.channel.send(":warning: Silmek istedi─činiz mesaj say─▒s─▒n─▒ girin. ├ľrnek: ``!clear 10``");
  273.                         message.channel.bulkDelete(args[0]).then(() => {
  274.                         message.channel.send(`:white_check_mark: ${args[0]} mesaj silindi.`).then(msg => msg.delete(2000));
  275.                 });
  276.   }
  277.  
  278.   if(cmd === `${prefix}yard─▒m`) {
  279.            if (message.channel.type !== 'dm') {
  280.     const ozelmesajkontrol = new Discord.RichEmbed()
  281.     .setColor('#990000')
  282.     .setDescription(':white_check_mark: ├ľzel mesajlar─▒n─▒ kontrol et.')
  283.         .setFooter("832 BOT | Yard─▒m")
  284.     message.channel.sendEmbed(ozelmesajkontrol) }
  285.         const pingozel = new Discord.RichEmbed()
  286.     .setColor('#990000')
  287.         .setDescription('832 bot, JITEM klan─▒ taraf─▒ndan tasarlanm─▒┼čt─▒r.\nKomutlar hakk─▒nda bilgi sahibi olmak istiyorsan ``8!komutlar`` yazman yeterlidir.')
  288.     .setFooter("832 BOT | Yard─▒m")
  289.         return message.author.sendEmbed(pingozel)
  290.        
  291. }
  292.  
  293. if(cmd === `${prefix}yazd─▒r`) {
  294.         let mesaj = args.slice(0).join(' ');
  295.         if (mesaj.length < 1) return message.channel.send(':warning: Ne yazmam─▒ istiyorsun?');
  296.     message.delete();
  297.     const embed = new Discord.RichEmbed()
  298.     .setColor('#990000')
  299.     .setDescription(`${mesaj}`)
  300.         .setFooter(`${message.author.username} | Yazd─▒r`);
  301.     return message.channel.sendEmbed(embed);
  302. }
  303.  
  304.   if(cmd === `${prefix}say2`) {
  305.      let mesaj = args.slice(0).join(' ');
  306.     if(mesaj.length < 1) return message.channel.send(':warning: Ne yazmam─▒ istiyorsun?');
  307.     message.delete();
  308.     message.channel.send(`(ÔĽ»┬░Ôľí┬░)--´Ş╗ÔĽŽÔĽĄÔöÇ - - - **${mesaj}**`);
  309.   }
  310.  
  311.   if(cmd === `${prefix}duyuru`) {
  312.          let mesaj = args.slice(0).join(' ');
  313.          let sicon = message.guild.iconURL;
  314.           if (!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(':warning: Bu komut i├žin gerekli yetkiye sahip de─čilsin.');
  315.                 if (mesaj.length < 1) return message.channel.send(':warning: Duyurulacak c├╝mleyi yaz─▒n.');
  316.                 message.delete();
  317.                 const embed = new Discord.RichEmbed()
  318.                 .setThumbnail(sicon)
  319.                 .setColor('#990000')
  320.                 .setDescription(`${mesaj}`)
  321.                 .setFooter(`${message.author.username} | Duyuru`);
  322.                 return message.channel.send(embed);
  323. }
  324.  
  325.  if(cmd === `${prefix}steamoyun`) {
  326.         let game = args[0]
  327.     let steampng = "https://upload.wikimedia.org/wikipedia/commons/c/c1/Steam_Logo.png"
  328.     if (!game) return message.channel.send(':warning: Arad─▒─č─▒n─▒z oyunun ismini yaz─▒n─▒z. ├ľrnek: `8!oyunsteam CS:GO`')
  329.     provider.search(game).then(result => {
  330.     provider.detail(result[0].id, "turkey", "tr").then(results => {
  331.     console.log(results)
  332.     const embed = new Discord.RichEmbed()
  333.     .setThumbnail(steampng)
  334.         .setColor("#990000")
  335.     .setTitle(result[0].name)
  336.     .addField(`Oyunun ID's─▒`, result[0].id, true)
  337.     .addField('Oyun T├╝r├╝', results.genres, true)
  338.     .addField('Oyun Fiyat─▒', `Fiyat **${results.priceData.initialPrice}** TL`, true)
  339.     .addField('Sistemleri', results.otherData.platforms, true)
  340.     .addField('Oyun Geli┼čtiricileri', results.otherData.developer, true)
  341.         .addField('Oyun Yay─▒mc─▒lar─▒', results.otherData.publisher, true)
  342.     .setColor("#990000")
  343.     message.channel.send(embed).catch(e => {
  344.                  message.channel.send(':warning: Arad─▒─č─▒n─▒z oyun bulunamad─▒.')
  345.     })
  346. })
  347. })
  348.   }
  349.  
  350.         if(cmd === `${prefix}topsunucu`) {
  351.                 if (bot.guilds.size < 5) return message.channel.send(':warning: Bu komutu kullanabilmek i├žin botun **en az 5** sunucuda bulunmas─▒ gerekmektedir.')
  352.                
  353.                 const top = bot.guilds.sort((a,b)=>a.memberCount-b.memberCount).array().reverse()
  354.                 const embed = new Discord.RichEmbed()
  355.                 .setColor("#990000")
  356.                 .setTitle("832 - Top Sunucu")
  357.                 .addField(`1-) **${top[0].name}**`, `┬╗ ${top[0].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  358.                 .addField(`2-) **${top[1].name}**`, `┬╗ ${top[1].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  359.                 .addField(`3-) **${top[2].name}**`, `┬╗ ${top[2].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  360.                 .addField(`4-) **${top[3].name}**`, `┬╗ ${top[3].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  361.                 .addField(`5-) **${top[4].name}**`, `┬╗ ${top[4].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  362.                 .setFooter("832 BOT | Yard─▒m");
  363.                 message.channel.send(embed);
  364.         }
  365.  
  366.        
  367.        
  368.         /* ============================================================================================================================== */
  369.   if(cmd === `${prefix}bangif`) {
  370.           const embed = new Discord.RichEmbed()
  371.           .setColor('#990000')
  372.           .setImage(`https://images-ext-1.discordapp.net/external/171uiKxRgITAipvhLwQWRN0gDHVsry0MC9oYnff9Vnw/http/i.imgur.com/O3DHIA5.gif`)
  373.           return message.channel.send(embed);
  374.   }
  375.  
  376.   if(cmd === `${prefix}ka├žcm`) {
  377.           let sonuc = ["0 Santimetre - YOK\n```ĂÉ>```","1 Santimetre - Bamya\n```ĂÉ->```","2 Santimetre - Bamya\n```ĂÉ-->```","3 Santimetre - Bamya\n```ĂÉ--->```","4 Santimetre - Bamya\n```ĂÉ---->```","5 Santimetre - Bamya\n```ĂÉ----->```","6 Santimetre - Bamya\n```ĂÉ------>```","7 Santimetre - Bamya\n```ĂÉ------->```","8 Santimetre - Bamya\n```ĂÉ-------->```","9 Santimetre - Geli┼čiyor\n```ĂÉ--------->```","10 Santimetre - Normal\n```ĂÉ---------->```","11 Santimetre - Normal\n```ĂÉ----------->```","12 Santimetre - Normal\n```ĂÉ------------>```","13 Santimetre - Normal\n```ĂÉ------------->```", "14 Santimetre - Normal\n```ĂÉ-------------->```", "15 Santimetre - Uzun ├çomak\n```ĂÉ--------------->```", "16 Santimetre - Uzun ├çomak\n```ĂÉ---------------->```", "17 Santimetre - Soba Borusu\n```ĂÉ----------------->```\n", "18 Santimetre - Soba Borusu\n```ĂÉ------------------>", "19 Santimetre - ├çam A─čac─▒\n```ĂÉ------------------->```", "20 Santimetre - ├çam A─čac─▒\n```ĂÉ-------------------->```", "100 Santimetre - Meteor Ya─čmuru\n```ĂÉÔł×>```"];
  378.           let result = Math.floor((Math.random() * sonuc.length));
  379.          
  380.           let kacembed = new Discord.RichEmbed()
  381.           .setColor("#990000")
  382.           .addField(`:middle_finger: Say─▒n ${message.author.username} malafat─▒n─▒z─▒n boyu`, sonuc[result])
  383.           .setFooter("832 BOT | JITEM");
  384.           message.channel.send(kacembed);
  385.   }
  386.  
  387.   if(cmd === `${prefix}espri`) {
  388.           let espri = ["Ben Yedig├╝n i├žiyorum sen Onbe┼čg├╝n i├ž.", "Sinemada on dakika ara dedi, arad─▒m arad─▒m a├žmad─▒.", "Yeni yap─▒lm─▒┼č resimlere ne denir? - Nevresim", "Bir roman─▒ 7 k─▒z yazarsa nolur? - Seven k─▒z─▒n roman─▒", "-Ac─▒kan var m─▒ ya? - Yok bizde tatl─▒ kan var", "Asker ad─▒n ne? - -Emre-DERS─░N─░Z komutan─▒m", "Bizim CD s├╝r├╝c├╝m├╝z ehliyeti nerden alm─▒┼č acaba ?", "Ben hikaye yazar─▒m. - Ebru Destan", "Ge├žen ÔÇśfilÔÇÖe ├žorap ald─▒m, z├╝rafaya almad─▒m."];
  389.           let result = Math.floor((Math.random() * espri.length));
  390.          
  391.           let espriembed = new Discord.RichEmbed()
  392.           .setDescription(espri[result])
  393.           .setColor("#990000")
  394.           .setFooter("832 BOT | JITEM");
  395.           message.channel.send(espriembed);
  396.   }
  397.  
  398.   if(cmd === `${prefix}yemekye`) {
  399.           let yemek = ['https://i.gifer.com/Sarp.gif', 'https://gifimage.net/wp-content/uploads/2017/11/eat-gif.gif', 'https://media0.giphy.com/media/7pBsbcj1vZXmo/200w_s.gif', 'https://www.parhlo.com/wp-content/uploads/2016/01/16_things_that_happen_in_every_girls_hostel_8.gif', 'https://i.gifer.com/y4a.gif', 'https://i.gifer.com/1RL.gif'];
  400.           let result = Math.floor((Math.random() * yemek.length));
  401.           let yemekembed = new Discord.RichEmbed()
  402.           .setColor("#990000")
  403.           .setImage(yemek[result])
  404.           message.channel.send(yemekembed);
  405.   }
  406.  
  407.   if(cmd === `${prefix}caps`) {
  408.           let caps = ['http://i.capsspot.com/s/25/3/1162910.jpg', 'https://foto.haberler.com/galeri/2015/03/16/ygs-2015-caps-leri-costurdu_52781_b.jpg', 'http://i.hurimg.com/i/hurriyet/75/750x422/55ea20a9f018fbb8f86cea2f.jpg', 'https://i.ytimg.com/vi/IOZNZN2YOgQ/maxresdefault.jpg', 'https://i.ytimg.com/vi/8xnbNstbtq0/hqdefault.jpg', 'http://i.capsspot.com/s/29/5/1137249.png', 'http://c12.incisozluk.com.tr/res/incisozluk//11500/6/563006_o9013.png', 'https://pbs.twimg.com/media/CHRyC2rUsAAuGJR.jpg'];
  409.           let result = Math.floor((Math.random() * caps.length));
  410.           let capsembed = new Discord.RichEmbed()
  411.           .setColor("#990000")
  412.           .setImage(caps[result])
  413.           message.channel.send(capsembed);
  414.   }
  415.  
  416.   if(cmd === `${prefix}k├Âpek`) {
  417.           let k├Âpek = ['https://thumbs.gfycat.com/CarefulGiftedKookaburra-size_restricted.gif', 'https://thumbs.gfycat.com/PreciousCleanIberianemeraldlizard-small.gif', 'https://thumbs.gfycat.com/ActualVapidBongo-small.gif', 'https://thumbs.gfycat.com/GlumEnragedAntarcticfurseal-size_restricted.gif', 'https://thumbs.gfycat.com/BackSimpleBeaver-small.gif', 'https://thumbs.gfycat.com/WarmheartedDetailedHart-small.gif', 'https://thumbs.gfycat.com/DismalWealthyBear-size_restricted.gif', 'https://thumbs.gfycat.com/DeadPoshAngelfish-size_restricted.gif', ''];
  418.           let result = Math.floor((Math.random() * k├Âpek.length));
  419.           let k├Âpekembed = new Discord.RichEmbed()
  420.           .setColor("#990000")
  421.           .setImage(k├Âpek[result])
  422.           message.channel.send(k├Âpekembed);
  423.   }
  424.  
  425.   if(cmd === `${prefix}kedi`) {
  426.           let kedi = ['https://media.giphy.com/media/PcwpnqpwAfRK/giphy.gif', 'https://media.giphy.com/media/26FPCXdkvDbKBbgOI/giphy.gif', 'https://media.giphy.com/media/nNxT5qXR02FOM/giphy.gif', 'https://media.giphy.com/media/fAT2Db0j0Mblu/giphy.gif', 'https://media.giphy.com/media/3o85xoi6nNqJQJ95Qc/giphy.gif', 'https://media.giphy.com/media/ExMGjbktr4phe/giphy.gif', 'https://media2.giphy.com/media/kIkwipWRoqeUE/giphy.gif', 'https://media.giphy.com/media/UmO1IuCwW14k/giphy.gif'];
  427.           let result = Math.floor((Math.random() * kedi.length));
  428.           let kediembed = new Discord.RichEmbed()
  429.           .setColor("#990000")
  430.           .setImage(kedi[result])
  431.           message.channel.send(kediembed);
  432.   }
  433.  
  434.   if(cmd === `${prefix}lotto`) {
  435.           let sayi = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43"];
  436.           let result = Math.floor((Math.random() * sayi.length));
  437.          
  438.           let kediembed = new Discord.RichEmbed()
  439.           .setColor("#990000")
  440.           .setDescription(`:bulb: Lotto numaran─▒z ${sayi[result]} bu say─▒ya dikkat edin ${message.author.username}.`)
  441.           .setFooter("832 BOT | JITEM");
  442.           message.channel.send(kediembed);
  443.   }
  444.  
  445.   if(cmd === `${prefix}┼čansl─▒g├╝n`) {
  446.           let g├╝n = ["Pazartesi", "Sal─▒", "├çar┼čamba", "Per┼čembe", "Cuma", "Cumartesi", "Pazar"];
  447.           let result = Math.floor((Math.random() * g├╝n.length));
  448.          
  449.           let g├╝nembed = new Discord.RichEmbed()
  450.           .setColor("#990000")
  451.           .setDescription(`:bulb: Say─▒n ${message.author.username} ┼čansl─▒ g├╝n├╝n├╝z ${g├╝n[result]}.`)
  452.           .setFooter("832 BOT | JITEM");
  453.           message.channel.send(g├╝nembed);
  454.   }
  455.  
  456.   if(cmd === `${prefix}yaz─▒tura`) {
  457.           let yaz─▒tura = ["Yaz─▒", "Tura", "Dik"];
  458.           let result = Math.floor((Math.random() * yaz─▒tura.length));
  459.    
  460.           let yaz─▒turaembed = new Discord.RichEmbed()
  461.           .setColor('#990000')
  462.           .setThumbnail('https://upload.wikimedia.org/wikipedia/commons/6/64/1TL_obverse.png')
  463.           .setDescription(`:bulb: Att─▒─č─▒n─▒z para ${yaz─▒tura[result]} ├ž─▒kt─▒.`)
  464.           .setFooter("832 BOT | JITEM");
  465.           message.channel.send(yaz─▒turaembed);
  466.   }
  467.  
  468.         if(cmd === `${prefix}ascii`) {
  469.                 if(args.join(' ').length > 70) return message.channel.send(`:warning: Maximum 70 karakter girebilirsin.`)
  470.  
  471.                 if(!args[0]) return message.channel.send(':warning: Ne yazmam─▒ istiyorsun? ├ľrnek: ``8!ascii 832 BOT``');
  472.  
  473.                 figlet(`${args.join(' ')}`, function(err, data) {
  474.                         if (err) {
  475.                                 console.log('HATA');
  476.                                 console.dir(err);
  477.                                 return;
  478.                         }
  479.  
  480.                         message.channel.send(`${data}`, {code: 'AsciiArt'});
  481.                 });
  482.         }
  483.        
  484.         if(cmd === `${prefix}├žekili┼č`) {
  485.                 let ├žekili┼čembed = new Discord.RichEmbed()
  486.                 .setColor('#990000')
  487.                 .setTitle('832 BOT - ├çekili┼č')
  488.                 .setDescription(`:confetti_ball: ├çekili┼či kazanan **${message.guild.members.random().displayName}** TEBR─░KLER!`)
  489.                 .setFooter('832 BOT | JITEM');
  490.                 message.channel.send(├žekili┼čembed);
  491.         }
  492.  
  493.  
  494. });
  495.    
  496.  bot.login('NTI1OTM5NDczODcyMzIyNTYy.DzD-FQ.zk5uz43LlJPXJciGAU_-Rt9q088')
  497. //bot.login('NTQwMjM4MDg5OTc3NzI0OTUw.DzT2sg.OHhAgmTIR0amcEYNkj95Ng1-Wx8');