mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Back to private :)
This commit is contained in:
@@ -13,13 +13,9 @@ module.exports = class InviteCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
async run(msg) {
|
||||
const invite = await this.client.generateInvite(372632641);
|
||||
run(msg) {
|
||||
return msg.say(stripIndents`
|
||||
To invite me to your server, use this link:
|
||||
<${invite}>
|
||||
|
||||
Or, join my home server:
|
||||
You cannot invite me to your server, but you can join my home server to use me:
|
||||
${this.client.options.invite || 'Coming soon...'}
|
||||
`);
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const { duration } = require('../../util/Util');
|
||||
|
||||
module.exports = class UptimeCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'uptime',
|
||||
group: 'util',
|
||||
memberName: 'uptime',
|
||||
description: 'Responds with how long the bot has been active.',
|
||||
guarded: true
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say(duration(this.client.uptime));
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user