Files
xiao/commands/util/donate.js
T
Daniel Odendahl Jr 45c8d62dd5 Credit Command
2019-04-14 00:03:38 +00:00

34 lines
715 B
JavaScript

const Command = require('../../structures/Command');
const { stripIndents } = require('common-tags');
module.exports = class DonateCommand extends Command {
constructor(client) {
super(client, {
name: 'donate',
aliases: ['patreon', 'paypal'],
group: 'util',
memberName: 'donate',
description: 'Responds with the bot\'s donation links.',
guarded: true,
credit: [
{
name: 'Patreon',
url: 'https://www.patreon.com/'
},
{
name: 'PayPal',
url: 'https://www.paypal.com/us/home'
}
]
});
}
run(msg) {
return msg.say(stripIndents`
Contribute to development!
<https://www.patreon.com/dragonfire535>
<https://paypal.me/dragonfire535>
`);
}
};