rip rip rip

This commit is contained in:
Elizabeth
2017-07-12 19:45:31 -05:00
parent afe98a18a4
commit 8d442a67e8
181 changed files with 0 additions and 21 deletions
+24
View File
@@ -0,0 +1,24 @@
const Command = require('../../structures/Command');
const { stripIndents } = require('common-tags');
module.exports = class InviteCommand extends Command {
constructor(client) {
super(client, {
name: 'invite',
group: 'util',
memberName: 'invite',
description: 'Responds with an invite for the bot and an invite to the home server.',
guarded: true
});
}
async run(msg) {
const invite = await this.client.generateInvite('1345846343');
return msg.say(stripIndents`
Add me to your server with this link:
<${invite}>
Or, come to my server with this link:
${this.client.options.invite}
`);
}
};