Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- module.exports = class pfp {
- constructor(){
- this.name = 'pfp';
- this.alias = ['Pfp', 'Profilep', 'Profilepicture', 'ProfilePicture', 'Pfpicture', 'PfPicture'],
- this.usage = 'pfp';
- }
- run(bot, message, args){
- let embed = new Discord.RichEmbed();
- let pfp = args.slice(1).join(" ");
- if(message.author.id === '194137531695104000') {
- embed.setAuthor('Changed Profile Picture');
- embed.setColor("55FF55");
- embed.setImage(`${pfp}`);
- bot.user.setAvatar(`${pfp}`);
- message.channel.send(embed);
- message.delete();
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement