Facebook
From xQuena, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 146
  1. const Discord = require('discord.js');
  2. const client = new Discord.Client();
  3. const ayarlar = require('../ayarlar.json');
  4. const randomizeCase = word => word.split('').map(c => Math.random() > 0.5 ? c.toUpperCase() : c.toLowerCase()).join('');
  5.  
  6. var prefix = ayarlar.prefix;
  7.  
  8.  
  9.  
  10.  
  11. module.exports = {      
  12. name: 'keko',  
  13. description: 'Keko Yazı.',
  14.   aliases: ["kekoyazı", "keko", "kecho"],
  15. usage: "keko-yazı <mesaj>",
  16. kategori: "genel",
  17.   permLevel: 0,
  18.   execute(client,message, args) {  
  19.   if (args.length < 1) return message.channel.send("**Keko Gibi Yazmam İçin Birşeyler Yaz.**")
  20.     message.channel.send(args.map(randomizeCase).join(' '));
  21. },
  22. };
  23.  
  24. //EXPORTS YERINI KENDINIZE GORE DUZENLEYIN!