1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Haha-Yes/commands/owner/botAvatar.js

23 lines
634 B
JavaScript

const { Command } = require('discord.js-commando');
6 years ago
module.exports = class BotavatarCommand extends Command {
constructor(client) {
super(client, {
6 years ago
name: 'botavatar',
group: 'owner',
6 years ago
memberName: 'botavatar',
description: 'Change the avatar of the bot',
ownerOnly: true,
args: [
{
key: 'pic',
prompt: 'Wich avatar should i have?',
type: 'string',
}
]
});
}
run(message, { pic }) {
this.client.user.setAvatar(pic);
}
};