Donate Command

This commit is contained in:
Daniel Odendahl Jr
2017-07-02 18:49:10 +00:00
parent 537f4cd88d
commit 04e903f837
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -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
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "26.0.1",
"version": "26.1.0",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {