mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Donate Command
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
const Command = require('../../structures/Command');
|
||||||
|
const { stripIndents } = require('common-tags');
|
||||||
|
|
||||||
|
module.exports = class DonateCommand extends Command {
|
||||||
|
constructor(client) {
|
||||||
|
super(client, {
|
||||||
|
name: 'donate',
|
||||||
|
aliases: ['patreon'],
|
||||||
|
group: 'util',
|
||||||
|
memberName: 'donate',
|
||||||
|
description: 'Responds with Xiao\'s Patreon donation link.',
|
||||||
|
guarded: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
run(msg) {
|
||||||
|
return msg.say(stripIndents`
|
||||||
|
Contribute to XiaoBot development!
|
||||||
|
https://www.patreon.com/xiaobot
|
||||||
|
`);
|
||||||
|
}
|
||||||
|
};
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "26.0.1",
|
"version": "26.1.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user