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/utility/donate.js

28 lines
921 B
JavaScript

6 years ago
const { Command } = require('discord-akairo');
const { MessageEmbed } = require('discord.js');
6 years ago
class donateCommand extends Command {
constructor() {
super('donate', {
aliases: ['donate', 'donation', 'giveallmymoney', 'givemoney'],
6 years ago
category: 'utility',
5 years ago
clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
6 years ago
description: {
content: 'Send donate link for the bot and support server',
usage: '',
examples: ['']
}
});
}
async exec(message) {
const Embed = new MessageEmbed()
.setColor(message.member.displayHexColor)
.setTitle('Donation link')
.setDescription('If you decide to donate, please use the feedback command to let the owner know about it so he can put you in the about and donator command\n[Paypal](https://www.paypal.me/supositware)\n[Patreon](https://www.patreon.com/bePatron?u=15330358)');
return message.channel.send(Embed);
6 years ago
}
}
module.exports = donateCommand;