Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2. const Discord = require("discord.js");
  3. const client = new Discord.Client();
  4.  
  5. client.on('ready', () => {
  6. console.log(`Logged in as ${client.user.tag}!`);
  7. });
  8.  
  9. client.on('message', message => {
  10. var prefix = "§"
  11. if(message.content.startsWith(prefix + 'skin')) {
  12. let args = message.content.split(' ').slice(1).join(' ');
  13. if (!args) return message.channel.send("**من فضلك ضع إسمك**");
  14. var link = (`https://minotar.net/body/${args}/100.png`);
  15. message.channel.send(link);
  16. }
  17. });
  18.  
  19.  
  20. client.login('توكن بوتك');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement