const { Command } = require('discord-akairo'); const { MessageEmbed } = require('discord.js'); class UpdootCommand extends Command { constructor() { super('updoot', { aliases: ['updoot', 'upvote', 'vote'], category: 'utility', channelRestriction: 'guild', description: { content: 'Send a link to vote for my bot', usage: '', examples: [''] } }); } async exec(message) { const upDoot = new MessageEmbed() .setColor('#0099ff') .setTitle('Vote for my bot') .setAuthor(message.author.username) .setDescription('You can vote for my bot if you think the bot is awesome!') .addField('Discordbot.org', 'https://discordbots.org/bot/377563711927484418/vote') .addField('Discordbotlist.com', 'https://discordbotlist.com/bots/377563711927484418/upvote') .setTimestamp() .setFooter('Thanks for the updoots', this.client.user.avatarURL); message.channel.send({ embed: upDoot }); } } module.exports = UpdootCommand;