diff --git a/commands/util/donate.js b/commands/util/donate.js new file mode 100644 index 00000000..9f6caecd --- /dev/null +++ b/commands/util/donate.js @@ -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 + `); + } +}; diff --git a/package.json b/package.json index 0312eecc..d36f956c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "26.0.1", + "version": "26.1.0", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {