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:
parent
70ee8a7969
commit
3eafe9d766
|
@ -51,6 +51,7 @@ export async function run({
|
||||||
} else {
|
} else {
|
||||||
reply += `# ${command.info.name} command:\n| | |\n|---:|---|\n`;
|
reply += `# ${command.info.name} command:\n| | |\n|---:|---|\n`;
|
||||||
reply += `|**Name:**|${command.info.name}|\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 += `|**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 += `|**Category:**|${command.info.category.replace('../src/commands/', '').replace(/^\w/, (c) => c.toUpperCase())}|\n`;
|
||||||
reply += `|**Required Parameters:**|${command.requiredData || 'None'}|\n`;
|
reply += `|**Required Parameters:**|${command.requiredData || 'None'}|\n`;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ascii-captcha": "^0.0.3",
|
"ascii-captcha": "^0.0.3",
|
||||||
"enquirer": "^2.3.6",
|
"enquirer": "^2.3.6",
|
||||||
"hackchat-server": "^2.3.0",
|
"hackchat-server": "^2.3.1",
|
||||||
"http-server": "^14.1.0",
|
"http-server": "^14.1.0",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"lowdb": "^3.0.0",
|
"lowdb": "^3.0.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user