This commit is contained in:
parent
a832e20447
commit
c0d25dc4a5
2 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,7 @@ module.exports = class PruneCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
super(client, {
|
super(client, {
|
||||||
name: 'prune',
|
name: 'prune',
|
||||||
|
aliases: ['purge'],
|
||||||
group: 'fun',
|
group: 'fun',
|
||||||
memberName: 'prune',
|
memberName: 'prune',
|
||||||
description: 'Replies with a meow, kitty cat.',
|
description: 'Replies with a meow, kitty cat.',
|
||||||
|
|
5
index.js
5
index.js
|
@ -1,7 +1,8 @@
|
||||||
const { CommandoClient } = require('discord.js-commando');
|
const { CommandoClient } = require('discord.js-commando');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { token } = require('./config.json');
|
const { activity, token } = require('./config.json');
|
||||||
const responseObject = require("./reply.json");
|
const responseObject = require("./reply.json");
|
||||||
|
const fs = require("fs");
|
||||||
|
|
||||||
// Prefix and ownerID and invite to support server
|
// Prefix and ownerID and invite to support server
|
||||||
const client = new CommandoClient({
|
const client = new CommandoClient({
|
||||||
|
@ -25,7 +26,7 @@ client.registry
|
||||||
client.on('ready', () => {
|
client.on('ready', () => {
|
||||||
console.log(`Logged in as ${client.user.tag}! (${client.user.id})`);
|
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}`);
|
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');
|
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}`);
|
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}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue