mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
25 lines
607 B
JavaScript
25 lines
607 B
JavaScript
const { Command } = require('discord.js-commando');
|
|
const { stripIndents } = require('common-tags');
|
|
|
|
module.exports = class DonateCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'donate',
|
|
aliases: ['patreon', 'paypal', 'ko-fi', 'donators'],
|
|
group: 'util',
|
|
memberName: 'donate',
|
|
description: 'Responds with Xiao\'s donation links.',
|
|
guarded: true
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say(stripIndents`
|
|
Contribute to XiaoBot development!
|
|
<https://www.patreon.com/dragonfire535>
|
|
<https://paypal.me/dragonfire535>
|
|
<https://ko-fi.com/dragonfire>
|
|
`);
|
|
}
|
|
};
|