mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
And so, Xiao lived the rest of her days on only 11 servers.
This commit is contained in:
@@ -18,7 +18,6 @@ module.exports = class InfoCommand extends Command {
|
||||
|
||||
async run(msg) {
|
||||
const guilds = await this.client.shard.fetchClientValues('guilds.size');
|
||||
const invite = await this.client.generateInvite('1345846343');
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0x00AE86)
|
||||
.setFooter('©2017 dragonfire535#8081')
|
||||
@@ -27,7 +26,7 @@ module.exports = class InfoCommand extends Command {
|
||||
.addField('❯ Home Server',
|
||||
`[Here](https://${this.client.options.invite})`, true)
|
||||
.addField('❯ Invite',
|
||||
`[Here](${invite})`, true)
|
||||
'N/A', true)
|
||||
.addField('❯ Shards',
|
||||
this.client.options.shardCount, true)
|
||||
.addField('❯ Commands',
|
||||
|
||||
@@ -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}
|
||||
`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user