1
0
Fork 0

change the look of the command and add more aliases

akairo
loicbersier 5 years ago
parent 934e000fb1
commit c5613385f5

@ -1,9 +1,10 @@
const { Command } = require('discord-akairo');
const { MessageEmbed } = require('discord.js');
class donateCommand extends Command {
constructor() {
super('donate', {
aliases: ['donate'],
aliases: ['donate', 'donation', 'giveallmymoney', 'givemoney'],
category: 'utility',
description: {
content: 'Send donate link for the bot and support server',
@ -14,7 +15,12 @@ class donateCommand extends Command {
}
async exec(message) {
return message.channel.send('If you want to donate you can do it with paypal at https://www.paypal.me/supositware, https://donatebot.io/checkout/487640086859743232?buyer=267065637183029248 or if you prefer on patreon! https://www.patreon.com/user?u=15330358&utm_medium=social&utm_source=twitter&utm_campaign=creatorshare');
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);
}
}

Loading…
Cancel
Save