Browse Source

change shardlog and edit help

master
ry 2 months ago
parent
commit
fe9a102f0a
2 changed files with 7 additions and 5 deletions
  1. +5
    -3
      DiscordEvents/shardReconnecting.js
  2. +2
    -2
      DiscordModules/General/help.js

+ 5
- 3
DiscordEvents/shardReconnecting.js View File

@@ -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);


+ 2
- 2
DiscordModules/General/help.js View File

@@ -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…
Cancel
Save