Facebook
From RidenLive, 3 Years ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 270
  1.  
  2.  
  3. const Discord = require("discord.js");  // BU KOMUT RİDENLİVE TARAFINDAN EDİTLENMİŞTİR.
  4. const express = require('express');      // BU APİ ByMayFe_0 AİTTİR
  5. const app = express();
  6.  
  7. module.exports.run = async (bot, message, args) => {
  8.  
  9.  
  10.  
  11.  var resim = require("request");
  12.   resim.get("https://mayfeapi.glitch.me/api/rammus53", (err, res, body) => {
  13.   const cevaplar = JSON.parse(body);
  14.             var resimcik = cevaplar[Math.floor(Math.random() * cevaplar.length)];
  15.            
  16.    
  17.    
  18.     let gifembed = new Discord.RichEmbed()
  19.         .setTitle("Fotoğrafın! ❤")
  20.         .setColor("RED")
  21.         .setFooter(`Rammus53 Fotoğraf`, message.author.avatarURL)
  22.         .setFooter(`RidenLive ve ByMayFe_0 Tarafından Oluşturulmuştur.`, message.author.avatarURL)
  23.         .setImage(resimcik);
  24.     message.channel.send(gifembed)
  25.  
  26.   })
  27.  
  28.  
  29. }
  30.  
  31.  
  32.  
  33. exports.conf = {
  34.   enabled: true,
  35.   guildOnly: false,
  36.   aliases: ['rammus','rammus53'],
  37.   permLevel: 0
  38. };
  39.  
  40. exports.help = {
  41.   name: 'rammus53',
  42.   description: 'Rastgele Rammus53 fotoğrafları atar.',
  43.   usage: 'rammus53'
  44. };
  45.  
  46. // BU KOD RİDENLİVE`A ve ByMayFe_0 AİTTİR. İSTEKLERİNİZİ ☪RɪᴅᴇɴLɪᴠᴇ☪#9822  ve  ByMayFe_0 ~ ƈα#2956 DM OLARAK YAZIN !!