Discord Kahkaha Komutu

avatar spector
Forum Sorumlusu
20-07-2020, Saat: 17:23
391
#1
Yorumu Paylaş

Komudun Adı: - Kahkaha.js
Komut için Gerekli Modüller: -Discord.js 
Komut Açıklaması: -  Kahkaha gif ekler
Komutun Ekleneceği Yer: Komutlar
 
PHP Kod:
const Discord = require('discord.js');
const ayarlar = require('../ayarlar.json');

exports.run = (client, message, args) => {
    if (!message.guild) {
    const ozelmesajuyari = new Discord.RichEmbed()
    .setColor('FF0000')
    .setTimestamp()
    .setAuthor(message.author.username, message.author.avatarURL)
    .addField('**<a:basarisiz:596887378476400651> | Eğlence Komutları Özel Mesajlarda Kullanılamaz!**')
    return message.author.sendEmbed(ozelmesajuyari); }
    if (message.channel.type !== 'dm') {
      const sunucubilgi = new Discord.RichEmbed()
    .setAuthor(message.author.username + `  Kahkaha Attı!`)
    .setColor(3447003)
    .setDescription('')
  .setImage(`https://media.giphy.com/media/3ohc1h5TqjhN8jtGyk/giphy.gif`)
    return message.channel.sendEmbed(sunucubilgi);
    }

   // let username = member.user.username;
   // member.send('Sunucuya Hoş Geldin!');
   // member.guild.defaultChannel.send('');
};

exports.conf = {
  enabled: true,
  guildOnly: false,
  aliases: ['kahkaha', 'smile'],
  permLevel: 0
};

exports.help = {
  name: 'kahkaha',
  description: 'Kahkaha Atarsınız.',
  usage: 'kahkaha'
};  


Destek almak için BURAYA TIKLAYABİLİRSİNİZ.
deneme
Forum Sorumlusu

Konuda Ara

0 Yorum


Konuyu Okuyanlar:
2 Ziyaretçi