diff --git a/commands/admin/prune.js b/commands/admin/prune.js index 13973b06..a1ee01e8 100644 --- a/commands/admin/prune.js +++ b/commands/admin/prune.js @@ -3,6 +3,7 @@ module.exports = class PruneCommand extends Command { constructor(client) { super(client, { name: 'prune', + aliases: ['purge'], group: 'fun', memberName: 'prune', description: 'Replies with a meow, kitty cat.', diff --git a/index.js b/index.js index cd42fb18..3831d4e7 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,8 @@ const { CommandoClient } = require('discord.js-commando'); const path = require('path'); -const { token } = require('./config.json'); +const { activity, token } = require('./config.json'); const responseObject = require("./reply.json"); +const fs = require("fs"); // Prefix and ownerID and invite to support server const client = new CommandoClient({ @@ -25,7 +26,7 @@ client.registry client.on('ready', () => { console.log(`Logged in as ${client.user.tag}! (${client.user.id})`); console.log(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); - client.user.setActivity('with nobody :('); + client.user.setActivity(activity); const channel = client.channels.get('487766113292124160'); channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); });