change shardlog and edit help

Cette révision appartient à :
ry 2020-01-31 21:06:11 +01:00
Parent 8598f27de8
révision fe9a102f0a
2 fichiers modifiés avec 7 ajouts et 5 suppressions

Voir le fichier

@ -1,10 +1,12 @@
const { logChannel } = require('../config');
const {
logChannel
} = require('../config');
module.exports = {
name: 'shardReconnecting',
run: async (client) => {
const logs = client.channels.get('672082800320577556')
const message = `Shard ${client.options.shards[client.options.shards.length - 1] + 1}/${client.options.shards.length} changed status to reconnecting`;
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`;
if (logs) logs.send(message);
console.log(message);

Voir le fichier

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