added parameters to help command + changed type names to more user-friendly

This commit is contained in:
mmacierzanka committed 2021-08-06 02:53:48 +02:00
1 parent 6447759caf
commit 8e3c3afc6d
2 files changed
+12 -12

No files matched your search

+8 -1
View File
@@ -21,7 +21,14 @@ export class HelpMessage extends Command {
usage: params.usage,
permissions: 0,
description: params.description,
function: (m, a) => {
parameters: [
{
name: "Command name",
optional: true,
type: "TEXT",
},
],
function: (_, a) => {
const helpMsg = new MessageEmbed();
helpMsg.setColor(params.color);
helpMsg.setTimestamp();