change shardlog and edit help

This commit is contained in:
ry 2020-01-31 21:06:11 +01:00
parent 8598f27de8
commit fe9a102f0a
2 changed files with 7 additions and 5 deletions

View file

@ -1,9 +1,11 @@
const { logChannel } = require('../config'); const {
logChannel
} = require('../config');
module.exports = { module.exports = {
name: 'shardReconnecting', name: 'shardReconnecting',
run: async (client) => { run: async (client) => {
const logs = client.channels.get('672082800320577556') const logs = client.channels.get(logChannel)
const message = `Shard ${client.options.shards[client.options.shards.length - 1] + 1}/${client.options.shards.length} changed status to reconnecting`; const message = `Shard ${client.options.shards[client.options.shards.length - 1] + 1}/${client.options.shards.length} changed status to reconnecting`;
if (logs) logs.send(message); if (logs) logs.send(message);

View file

@ -145,8 +145,8 @@ module.exports = class nHelp extends Command {
} }
} else { } else {
Help.setDescription( Help.setDescription(
`Use ${ctx.utils.format.code( `Use \n${ctx.utils.format.code(
`'help --<cagegory> <command> to get help on a specific command` `'help --<cagegory> <command or alias> to get help on a specific command`
)}\n\n${short.join("\n")}` )}\n\n${short.join("\n")}`
); );
return ctx.send(Help); return ctx.send(Help);