mirror of
https://github.com/danbulant/Shasha
synced 2026-05-25 04:41:51 +00:00
16 lines
No EOL
364 B
JavaScript
16 lines
No EOL
364 B
JavaScript
'use strict';
|
|
|
|
const { padEnd } = require("lodash");
|
|
|
|
module.exports = {
|
|
description: "Show help",
|
|
aliases: ["h"],
|
|
run(client) {
|
|
const h = [];
|
|
for (const a in client.tCmds) {
|
|
const r = client.tCmds[a];
|
|
h.push(`${padEnd(a, 10, " ")}: ${r.description}`);
|
|
}
|
|
return console.log(h.join("\n"));
|
|
}
|
|
} |