Haha-Yes/commands/utility/donate.js

28 lines
1 KiB
JavaScript
Raw Normal View History

2019-01-19 22:34:00 +01:00
const { Command } = require('discord-akairo');
const { MessageEmbed } = require('discord.js');
2019-01-19 22:34:00 +01:00
class donateCommand extends Command {
constructor() {
super('donate', {
aliases: ['donate', 'donation', 'giveallmymoney', 'givemoney'],
2019-01-19 22:34:00 +01:00
category: 'utility',
2019-11-09 12:04:01 +01:00
clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
2019-01-19 22:34:00 +01:00
description: {
content: 'Send donate link for the bot and support server',
usage: '',
examples: ['']
}
});
}
async exec(message) {
const Embed = new MessageEmbed()
2019-11-02 00:54:40 +01:00
.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)\n[Brave referal program](https://brave.com/hah459)\nTip me with Brave BAT token on [my website](https://namejeff.xyz/)');
return message.channel.send(Embed);
2019-01-19 22:34:00 +01:00
}
}
module.exports = donateCommand;