Facebook
From BIGGZ, 1 Month ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 415
  1. const Discord = require('discord.js');
  2. exports.run = (client, message, args) => {
  3.  
  4.     if (!message.guild) {
  5.         const ozelmesajuyari = new Discord.RichEmbed()
  6.             .setColor(0xFF0000)
  7.             .setTimestamp()
  8.             .setAuthor(message.author.username, message.author.avatarURL)
  9.             .addField(':warning: **Uyar─▒** :warning:', '`rol-ver` **adl─▒ komutu ├Âzel mesajlarda kullanamazs─▒n.**')
  10.         return message.author.sendEmbed(ozelmesajuyari);
  11.     }
  12.     let guild = message.guild
  13.     let rol = message.mentions.roles.first()
  14.     let user = message.mentions.members.first()
  15.  
  16.     if (!user) return message.reply('**Kime rol verilece─čini yazmad─▒n!**').catch(console.error);
  17.     if (rol.length < 1) return message.reply('**Rol├╝ belirtmedin**');
  18.     user.addRole(rol);
  19.  
  20.     const embed = new Discord.RichEmbed()
  21.         .setDescription(`${user} kullan─▒c─▒s─▒na ${rol} rol├╝ verildi!`)
  22.         .setFooter('Rol sistemi', client.user.avatarURL)
  23.         .setColor("RANDOM")
  24.         .setTimestamp()
  25.     message.channel.send({ embed })
  26. };
  27.  
  28. exports.conf = {
  29.     enabled: true,
  30.     guildOnly: true,
  31.     aliases: ['rolver'],
  32.     permLevel: 0
  33. };
  34.  
  35. exports.help = {
  36.     name: 'rol-ver',
  37.     description: '─░stedi─činiz ki┼čiden istedi─činiz rol├╝ al─▒r.',
  38.     usage: 'rol-ver [kullan─▒c─▒] [@rol]'
  39. };

Replies to Rol - Ver rss

Title Name Language When
Re: Rol - Ver Voluminous Gibbon javascript 2 Weeks ago.