Archived
added parameters to help command + changed type names to more user-friendly
This commit is contained in:
1 parent
6447759caf
commit
8e3c3afc6d
2 files changed
+12
-12
No files matched your search
+8
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user