1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

added hash of a modules source to help module output

This commit is contained in:
marzavec 2023-12-28 23:17:33 -08:00
parent 70ee8a7969
commit 3eafe9d766
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ export async function run({
} else {
reply += `# ${command.info.name} command:\n| | |\n|---:|---|\n`;
reply += `|**Name:**|${command.info.name}|\n`;
reply += `|**Hash:**|${command.info.srcHash}|\n`;
reply += `|**Aliases:**|${typeof command.info.aliases !== 'undefined' ? command.info.aliases.join(', ') : 'None'}|\n`;
reply += `|**Category:**|${command.info.category.replace('../src/commands/', '').replace(/^\w/, (c) => c.toUpperCase())}|\n`;
reply += `|**Required Parameters:**|${command.requiredData || 'None'}|\n`;

View File

@ -32,7 +32,7 @@
"dependencies": {
"ascii-captcha": "^0.0.3",
"enquirer": "^2.3.6",
"hackchat-server": "^2.3.0",
"hackchat-server": "^2.3.1",
"http-server": "^14.1.0",
"jsonwebtoken": "^9.0.2",
"lowdb": "^3.0.0",