change shardlog and edit help
This commit is contained in:
parent
8598f27de8
commit
fe9a102f0a
2 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue