This commit is contained in:
Joonas 2023-02-11 14:15:30 +02:00
parent b28049e0f6
commit e0d1796e5c
1 changed files with 8 additions and 10 deletions

View File

@ -4,16 +4,14 @@ const command = {
restricted: false,
mod: false,
run: async (client, msg) => {
await client
.say(
msg.channelName,
`${msg.displayName}, ${
client.commands.length
} commands; List of commands: ${client.commands
.map((cmd) => cmd.name)
.join(", ")}`
)
.catch((err) => console.log(err));
await client.say(
msg.channelName,
`${msg.displayName}, ${
client.commands.length
} commands; List of commands: ${client.commands
.map((cmd) => cmd.name)
.join(", ")}`
);
},
};