Facebook
From CerberuS, 2 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 232
  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 validate = require('ytdl-core');
  14. const ascii = require("moment");
  15. const steam = require('steam-provider')
  16. let provider = new steam.SteamProvider();
  17.  
  18. const bot = new Discord.Client({disableEveryone: true});
  19.  
  20. bot.on("ready", async () => {
  21.         console.log(`${bot.user.username} ┼čuan aktif!`);
  22.  
  23.         bot.user.setActivity('832 | JITEM');
  24.  
  25. });
  26.  
  27. bot.on("message", async message => {
  28.        
  29.   if(message.author.bot) return;
  30.   if(message.channel.type === "dm") return;
  31.  
  32.   let prefix = botconfig.prefix;
  33.   let messageArray = message.content.split(" ");
  34.   let cmd = messageArray[0];
  35.   let args = messageArray.slice(1);
  36.  
  37.   if(cmd === `${prefix}kick`) {
  38.         let kUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  39.     if(!kUser) return message.channel.send(":warning: Atmak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!kick @832 BOT``");
  40.     let kReason = args.join(" ").slice(22);
  41.     if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  42.     if(kUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ atamam.");
  43.         if(kUser.id == message.author.id) return message.channel.send(":warning: Kendini atamazs─▒n.");
  44.        
  45.     let kickEmbed = new Discord.RichEmbed()
  46.     .setDescription("832 BOT - Kick Bilgi")
  47.     .setColor("#990000")
  48.     .addField("At─▒lan Kullan─▒c─▒", `${kUser}`)
  49.     .addField("Atan Y├Ânetici", `${message.author.username}`)
  50.     .addField("Zaman", message.createdAt)
  51.         .setFooter("832 BOT | JITEM");
  52.     message.guild.member(kUser).kick(kReason);
  53.     message.channel.send(kickEmbed);
  54.  
  55.   }
  56.  
  57.   if(cmd === `${prefix}ban`) {
  58.         let bUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  59.     if(!bUser) return message.channel.send(":warning: Yasaklamak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!ban @832 BOT``");
  60.     let bReason = args.join(" ").slice(22);
  61.     if(!message.member.hasPermission("MANAGE_MEMBERS")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  62.     if(bUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ yasaklayamam.");
  63.         if(bUser.id == message.author.id) return message.channel.send(":warning: Kendini yasaklayamazs─▒n.");
  64.  
  65.     let banEmbed = new Discord.RichEmbed()
  66.     .setDescription("832 BOT - Ban Bilgi")
  67.     .setColor("#990000")
  68.      .addField("Yasaklanan Kullan─▒c─▒", `${bUser}`)
  69.     .addField("Yasaklayan Y├Ânetici", `${message.author.username}`)
  70.     .addField("Zaman", message.createdAt)
  71.         .setFooter("832 BOT | JITEM");
  72.     message.guild.member(bUser).ban(bReason);
  73.     message.channel.send(banEmbed);
  74.  
  75.   }
  76.  
  77.   if(cmd === `${prefix}sustur`) {
  78.         let sustur = message.guild.roles.find("name", "Mute");
  79.         let sUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
  80.     if(!sUser) return message.channel.send(":warning: Susturmak istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!sustur @832 BOT``");
  81.     if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  82.     if(sUser.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu kullan─▒c─▒y─▒ susturamam.");
  83.         if(sUser.id == message.author.id) return message.channel.send(":warning: Kendini susturamazs─▒n.");
  84.  
  85.     let muteEmbed = new Discord.RichEmbed()
  86.     .setDescription("832 BOT - Mute Bilgi")
  87.     .setColor("#990000")
  88.      .addField("Susturulan Kullan─▒c─▒", `${sUser}`)
  89.     .addField("Susturan Y├Ânetici", `${message.author.username}`)
  90.     .addField("Zaman", message.createdAt)
  91.         .setFooter("832 BOT | JITEM");
  92.           message.guild.member(sUser).addRole(sustur);
  93.           message.channel.send(muteEmbed);
  94.   }
  95.  
  96.   if(cmd === `${prefix}sunucubilgisi`){
  97.     let sicon = message.guild.iconURL;
  98.         let day = message.guild.createdAt.getDate()
  99.         let month = 1 + message.guild.createdAt.getMonth()
  100.         let year = message.guild.createdAt.getFullYear()
  101.     let serverembed = new Discord.RichEmbed()
  102.     .setDescription("JITEM - Sunucu Bilgisi")
  103.     .setColor("#990000")
  104.     .setThumbnail(sicon)
  105.     .addField("Sunucu ─░smi", message.guild.name, true)
  106.     .addField("Kurucusu", message.guild.owner, true)
  107.         .addField('Sunucu B├Âlgesi', message.guild.region, true)
  108.     .addField("Kurulu┼č Tarihi", `${day}.${month}.${year}`, true)
  109.     .addField("Sunucu ID", "414892273684316161", true)
  110.         .addField("Toplam Rol", message.guild.roles.size, true)
  111.     .addField("Toplam Kullan─▒c─▒", message.guild.memberCount, true)
  112.         .addField('Toplam Kanal', message.guild.channels.size, true)
  113.         .setFooter("832 BOT | JITEM");
  114.  
  115.     return message.channel.send(serverembed);
  116.   }
  117.  
  118.   if(cmd === `${prefix}jitembilgisi`){
  119.          
  120.         let sicon = message.guild.iconURL;
  121.     let jitemembed = new Discord.RichEmbed()
  122.     .setDescription("JITEM - Klan─▒ Hakk─▒nda")
  123.     .setColor("#990000")
  124.         .setThumbnail(sicon)
  125.     .addField("Kurucumuz", "Yesil", true)
  126.     .addField("Bulundu─čumuz Sunucular", "─░nferno Freeroam `server.infernotr.net - www.infernotr.com`", true)
  127.     .addField("Toplam ├ťye Say─▒s─▒", "17", true)
  128.     .addField("Toplam Genel Ba┼čkan", "1", true)
  129.     .addField("Toplam Ba┼č Vekil", "1", true)
  130.     .addField("Toplam Genel Ba┼čkan Vekili", "2", true)
  131.     .addField("Toplam Vekil Sekreteri", "2", true)
  132.     .addField("Toplam S├Âzc├╝", "2", true)
  133.     .addField("Kurulu┼č Y─▒l─▒", "2015", true)
  134.         .addField("WebSite", "``'Yak─▒nda'``", true)
  135.         .addField("Forum", "``'Yak─▒nda'``", true)
  136.         .addField(`PawnoTurk Konumuz`, `https://www.pawnoturk.com/forum/topluluklar/tekrardan-yukselen-bir-ses-'jitem-!'/)`)
  137.         .setFooter("832 BOT | JITEM");
  138.  
  139.     return message.channel.send(jitemembed);
  140.   }
  141.  
  142.  
  143.   if(cmd === `${prefix}botbilgisi`){
  144.  
  145.     let bicon = bot.user.displayAvatarURL;
  146.     let botembed = new Discord.RichEmbed()
  147.     .setDescription("832 BOT - Bilgi")
  148.     .setColor("#990000")
  149.     .setThumbnail(bicon)
  150.     .addField("Bot ─░smi", bot.user.username, true)
  151.     .addField("Sahip", "JITEM#0001", true)
  152.     .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)
  153.     .addField("Prefix", "'8!'", true)
  154.     .addField("Yap─▒m Tarihi", "29/01/2019 - 00:45", true)
  155.         .setFooter("832 BOT | JITEM");
  156.    
  157.  
  158.  
  159.     return message.channel.send(botembed);
  160.   }
  161.  
  162.   if(cmd === `${prefix}komutlar`){
  163.  
  164.     let bicon = bot.user.displayAvatarURL;
  165.     let botembed = new Discord.RichEmbed()
  166.     .setDescription("832 BOT - Komutlar")
  167.     .setColor("#990000")
  168.     .setThumbnail(bicon)
  169.     .addField("┬╗ Y├Ânetici Komutlar─▒", "``8!y├Ânetici``")
  170.         .addField("┬╗ E─člence Komutlar─▒", "``8!e─člence``")
  171.         .addField("┬╗ Genel Bot Komutlar─▒", "``8!genel``")
  172.         .setFooter("832 BOT | JITEM");
  173.    
  174.  
  175.  
  176.     return message.channel.send(botembed);
  177.   }
  178.  
  179.   if(cmd === `${prefix}genel`){
  180.  
  181.     let bicon = bot.user.displayAvatarURL;
  182.     let botembed = new Discord.RichEmbed()
  183.     .setDescription("832 BOT - Genel Komutlar")
  184.     .setColor("#990000")
  185.     .setThumbnail(bicon)
  186.     .addField("┬╗ 8!botbilgisi", "Bot bilgilerini g├Âsterir.", true)
  187.         .addField("┬╗ 8!sunucubilgisi", "Sunucu bilgilerini g├Âsterir.", true)
  188.         .addField("┬╗ 8!jitembilgisi", "JITEM Genel klan bilgilerini g├Âsterir.", true)
  189.         .addField("┬╗ 8!myavatar", "Kendi avatar─▒n─▒z─▒ 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}myavatar`) {
  246.        
  247.     let avatarembed = new Discord.RichEmbed()
  248.          
  249.     .setImage(`${message.author.avatarURL}`)
  250.     .setColor('#990000');
  251.        
  252.      
  253.         return message.channel.send(avatarembed)
  254.   }
  255.  
  256.   if(cmd === `${prefix}avatar`) {
  257.         if(!args[0]) return message.channel.send(":warning: Avatar─▒n─▒ g├Ârmek istedi─činiz kullan─▒c─▒y─▒ etiketlemelisiniz. ├ľrnek: ``8!avatar @832 BOT``");
  258.         let user = message.mentions.users.first();
  259.         let avatar = user.displayAvatarURL;
  260.         let avatarembed = new Discord.RichEmbed()
  261.             .setColor("#990000")
  262.             .setImage(avatar)
  263.         message.channel.send(avatarembed);
  264.     }
  265.  
  266.   if(cmd === `${prefix}clear`) {
  267.       if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkiniz yok.");
  268.               if(!args[0]) return message.channel.send(":warning: Silmek istedi─činiz mesaj say─▒s─▒n─▒ girin. ├ľrnek: ``!clear 10``");
  269.                         message.channel.bulkDelete(args[0]).then(() => {
  270.                         message.channel.send(`:white_check_mark: ${args[0]} mesaj silindi.`).then(msg => msg.delete(2000));
  271.                 });
  272.   }
  273.    
  274.   if(cmd === `${prefix}temizle`) {
  275.       if(!message.member.hasPermission("MANAGE_MESSAGES")) return message.channel.send(":warning: Bu komutu kullanabilmek i├žin yeterli yetkide de─čilsiniz.");
  276.               if(!args[0]) return message.channel.send(":warning: Silmek istedi─činiz mesaj say─▒s─▒n─▒ girin. ├ľrnek: ``!clear 10``");
  277.                         message.channel.bulkDelete(args[0]).then(() => {
  278.                         message.channel.send(`:white_check_mark: ${args[0]} mesaj silindi.`).then(msg => msg.delete(2000));
  279.                 });
  280.   }
  281.  
  282.   if(cmd === `${prefix}yard─▒m`) {
  283.            if (message.channel.type !== 'dm') {
  284.     const ozelmesajkontrol = new Discord.RichEmbed()
  285.     .setColor('#990000')
  286.     .setDescription(':white_check_mark: ├ľzel mesajlar─▒n─▒ kontrol et.')
  287.         .setFooter("832 BOT | Yard─▒m")
  288.     message.channel.sendEmbed(ozelmesajkontrol) }
  289.         const pingozel = new Discord.RichEmbed()
  290.     .setColor('#990000')
  291.         .setDescription('832 bot, JITEM klan─▒ taraf─▒ndan tasarlanm─▒┼čt─▒r.\nKomutlar hakk─▒nda bilgi sahibi olmak istiyorsan ``8!komutlar`` yazman yeterlidir.')
  292.     .setFooter("832 BOT | Yard─▒m")
  293.         return message.author.sendEmbed(pingozel)
  294.        
  295. }
  296.  
  297. if(cmd === `${prefix}yazd─▒r`) {
  298.         let mesaj = args.slice(0).join(' ');
  299.         if (mesaj.length < 1) return message.channel.send(':warning: Ne yazmam─▒ istiyorsun?');
  300.     message.delete();
  301.     const embed = new Discord.RichEmbed()
  302.     .setColor('#990000')
  303.     .setDescription(`${mesaj}`)
  304.         .setFooter(`${message.author.username} | Yazd─▒r`);
  305.     return message.channel.sendEmbed(embed);
  306. }
  307.  
  308.   if(cmd === `${prefix}duyuru`) {
  309.          let mesaj = args.slice(0).join(' ');
  310.          let sicon = message.guild.iconURL;
  311.           if (!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send(':warning: Bu komut i├žin gerekli yetkiye sahip de─čilsin.');
  312.                 if (mesaj.length < 1) return message.channel.send(':warning: Duyurulacak c├╝mleyi yaz─▒n.');
  313.                 message.delete();
  314.                 const embed = new Discord.RichEmbed()
  315.                 .setThumbnail(sicon)
  316.                 .setColor('#990000')
  317.                 .setDescription(`${mesaj}`)
  318.                 .setFooter(`${message.author.username} | Duyuru`);
  319.                 return message.channel.send(embed);
  320. }
  321.  
  322.  if(cmd === `${prefix}steamoyun`) {
  323.         let game = args[0]
  324.     let steampng = "https://upload.wikimedia.org/wikipedia/commons/c/c1/Steam_Logo.png"
  325.     if (!game) return message.channel.send(':warning: Arad─▒─č─▒n─▒z oyunun ismini yaz─▒n─▒z. ├ľrnek: `8!oyunsteam CS:GO`')
  326.     provider.search(game).then(result => {
  327.     provider.detail(result[0].id, "turkey", "tr").then(results => {
  328.     console.log(results)
  329.     const embed = new Discord.RichEmbed()
  330.     .setThumbnail(steampng)
  331.         .setColor("#990000")
  332.     .setTitle(result[0].name)
  333.     .addField(`Oyunun ID's─▒`, result[0].id, true)
  334.     .addField('Oyun T├╝r├╝', results.genres, true)
  335.     .addField('Oyun Fiyat─▒', `Fiyat **${results.priceData.initialPrice}** TL`, true)
  336.     .addField('Sistemleri', results.otherData.platforms, true)
  337.     .addField('Oyun Geli┼čtiricileri', results.otherData.developer, true)
  338.         .addField('Oyun Yay─▒mc─▒lar─▒', results.otherData.publisher, true)
  339.     .setColor("#990000")
  340.     message.channel.send(embed).catch(e => {
  341.                  message.channel.send(':warning: Arad─▒─č─▒n─▒z oyun bulunamad─▒.')
  342.     })
  343. })
  344. })
  345.   }
  346.  
  347.         if(cmd === `${prefix}topsunucu`) {
  348.                 if (bot.guilds.size < 5) return message.channel.send(':warning: Bu komutu kullanabilmek i├žin botun **en az 5** sunucuda bulunmas─▒ gerekmektedir.')
  349.                
  350.                 const top = bot.guilds.sort((a,b)=>a.memberCount-b.memberCount).array().reverse()
  351.                 const embed = new Discord.RichEmbed()
  352.                 .setColor("#990000")
  353.                 .setTitle("832 - Top Sunucu")
  354.                 .addField(`1-) **${top[0].name}**`, `┬╗ ${top[0].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  355.                 .addField(`2-) **${top[1].name}**`, `┬╗ ${top[1].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  356.                 .addField(`3-) **${top[2].name}**`, `┬╗ ${top[2].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  357.                 .addField(`4-) **${top[3].name}**`, `┬╗ ${top[3].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  358.                 .addField(`5-) **${top[4].name}**`, `┬╗ ${top[4].memberCount} Kullan─▒c─▒ bulunmaktad─▒r.`)
  359.                 .setFooter("832 BOT | Yard─▒m");
  360.                 message.channel.send(embed);
  361.         }
  362.  
  363.        
  364.        
  365.         /* ============================================================================================================================== */
  366.   if(cmd === `${prefix}bangif`) {
  367.           const embed = new Discord.RichEmbed()
  368.           .setColor('#990000')
  369.           .setImage(`https://images-ext-1.discordapp.net/external/171uiKxRgITAipvhLwQWRN0gDHVsry0MC9oYnff9Vnw/http/i.imgur.com/O3DHIA5.gif`)
  370.           return message.channel.send(embed);
  371.   }
  372.  
  373.   if(cmd === `${prefix}ka├žcm`) {
  374.           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```ĂÉÔł×>```"];
  375.           let result = Math.floor((Math.random() * sonuc.length));
  376.          
  377.           let kacembed = new Discord.RichEmbed()
  378.           .setColor("#990000")
  379.           .addField(`:middle_finger: Say─▒n ${message.author.username} malafat─▒n─▒z─▒n boyu`, sonuc[result])
  380.           .setFooter("832 BOT | JITEM");
  381.           message.channel.send(kacembed);
  382.   }
  383.  
  384.   if(cmd === `${prefix}espri`) {
  385.           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."];
  386.           let result = Math.floor((Math.random() * espri.length));
  387.          
  388.           let espriembed = new Discord.RichEmbed()
  389.           .setDescription(espri[result])
  390.           .setColor("#990000")
  391.           .setFooter("832 BOT | JITEM");
  392.           message.channel.send(espriembed);
  393.   }
  394.  
  395.   if(cmd === `${prefix}yemekye`) {
  396.           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'];
  397.           let result = Math.floor((Math.random() * yemek.length));
  398.           let yemekembed = new Discord.RichEmbed()
  399.           .setColor("#990000")
  400.           .setImage(yemek[result])
  401.           message.channel.send(yemekembed);
  402.   }
  403.  
  404.   if(cmd === `${prefix}caps`) {
  405.           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'];
  406.           let result = Math.floor((Math.random() * caps.length));
  407.           let capsembed = new Discord.RichEmbed()
  408.           .setColor("#990000")
  409.           .setImage(caps[result])
  410.           message.channel.send(capsembed);
  411.   }
  412.  
  413.   if(cmd === `${prefix}k├Âpek`) {
  414.           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', ''];
  415.           let result = Math.floor((Math.random() * k├Âpek.length));
  416.           let k├Âpekembed = new Discord.RichEmbed()
  417.           .setColor("#990000")
  418.           .setImage(k├Âpek[result])
  419.           message.channel.send(k├Âpekembed);
  420.   }
  421.  
  422.   if(cmd === `${prefix}kedi`) {
  423.           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'];
  424.           let result = Math.floor((Math.random() * kedi.length));
  425.           let kediembed = new Discord.RichEmbed()
  426.           .setColor("#990000")
  427.           .setImage(kedi[result])
  428.           message.channel.send(kediembed);
  429.   }
  430.  
  431.   if(cmd === `${prefix}lotto`) {
  432.           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"];
  433.           let result = Math.floor((Math.random() * sayi.length));
  434.          
  435.           let kediembed = new Discord.RichEmbed()
  436.           .setColor("#990000")
  437.           .setDescription(`:bulb: Lotto numaran─▒z ${sayi[result]} bu say─▒ya dikkat edin ${message.author.username}.`)
  438.           .setFooter("832 BOT | JITEM");
  439.           message.channel.send(kediembed);
  440.   }
  441.  
  442.   if(cmd === `${prefix}┼čansl─▒g├╝n`) {
  443.           let g├╝n = ["Pazartesi", "Sal─▒", "├çar┼čamba", "Per┼čembe", "Cuma", "Cumartesi", "Pazar"];
  444.           let result = Math.floor((Math.random() * g├╝n.length));
  445.          
  446.           let g├╝nembed = new Discord.RichEmbed()
  447.           .setColor("#990000")
  448.           .setDescription(`:bulb: Say─▒n ${message.author.username} ┼čansl─▒ g├╝n├╝n├╝z ${g├╝n[result]}.`)
  449.           .setFooter("832 BOT | JITEM");
  450.           message.channel.send(g├╝nembed);
  451.   }
  452.  
  453.         if(cmd === `${prefix}ascii`) {
  454.                 if(args.join(' ').length > 70) return message.channel.send(`:warning: Maximum 70 karakter girebilirsin.`)
  455.  
  456.                 if(!args[0]) return message.channel.send(':warning: Ne yazmam─▒ istiyorsun? ├ľrnek: ``8!ascii 832 BOT``');
  457.  
  458.                 figlet(`${args.join(' ')}`, function(err, data) {
  459.                         if (err) {
  460.                                 console.log('HATA');
  461.                                 console.dir(err);
  462.                                 return;
  463.                         }
  464.  
  465.                         message.channel.send(`${data}`, {code: 'AsciiArt'});
  466.                 });
  467.         }
  468.        
  469.         if(cmd === `${prefix}├žekili┼č`) {
  470.                 let ├žekili┼čembed = new Discord.RichEmbed()
  471.                 .setColor('#990000')
  472.                 .setTitle('832 BOT - ├çekili┼č')
  473.                 .setDescription(`:confetti_ball: ├çekili┼či kazanan **${message.guild.members.random().displayName}** TEBR─░KLER!`)
  474.                 .setFooter('832 BOT | JITEM');
  475.                 message.channel.send(├žekili┼čembed);
  476.         }
  477.  
  478.  
  479. });
  480.  
  481. bot.login('NTI1OTM5NDczODcyMzIyNTYy.DzD-FQ.zk5uz43LlJPXJciGAU_-Rt9q088');