From c0d25dc4a52f7a20b961fcae52fecd31a7b0e3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 8 Sep 2018 02:25:58 +0200 Subject: [PATCH] --- commands/admin/prune.js | 1 + index.js | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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}`); });