And so, Xiao lived the rest of her days on only 11 servers.

This commit is contained in:
Daniel Odendahl Jr
2017-10-22 05:45:25 +00:00
parent 786a2c0783
commit 1983eba626
4 changed files with 20 additions and 27 deletions
-25
View File
@@ -1,25 +0,0 @@
const { Command } = require('discord.js-commando');
const { stripIndents } = require('common-tags');
module.exports = class InviteCommand extends Command {
constructor(client) {
super(client, {
name: 'invite',
aliases: ['invite-link'],
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:
https://${this.client.options.invite}
`);
}
};