2019-01-19 22:34:00 +01:00
|
|
|
const { Command } = require('discord-akairo');
|
2019-10-27 00:26:28 +02:00
|
|
|
const { MessageEmbed } = require('discord.js');
|
2019-01-19 22:34:00 +01:00
|
|
|
|
|
|
|
class donateCommand extends Command {
|
|
|
|
constructor() {
|
|
|
|
super('donate', {
|
2019-10-27 00:26:28 +02:00
|
|
|
aliases: ['donate', 'donation', 'giveallmymoney', 'givemoney'],
|
2019-01-19 22:34:00 +01:00
|
|
|
category: 'utility',
|
|
|
|
description: {
|
|
|
|
content: 'Send donate link for the bot and support server',
|
|
|
|
usage: '',
|
|
|
|
examples: ['']
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
async exec(message) {
|
2019-10-27 00:26:28 +02:00
|
|
|
const Embed = new MessageEmbed()
|
|
|
|
.setColor('#ff9900')
|
|
|
|
.setTitle('Donation link')
|
|
|
|
.setDescription('[Paypal](https://www.paypal.me/supositware)\n[Patreon](https://www.patreon.com/bePatron?u=15330358)');
|
|
|
|
|
|
|
|
message.channel.send(Embed);
|
2019-01-19 22:34:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = donateCommand;
|