Back to private :)

This commit is contained in:
Dragon Fire
2018-07-17 21:53:48 -04:00
parent 536e191e64
commit 11a8e26ddb
9 changed files with 14 additions and 355 deletions
+2 -6
View File
@@ -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...'}
`);
}
-18
View File
@@ -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));
}
};