vinibgoulart / wpp-playground

Whatsapp playground
35 stars 15 forks source link

!commands command #15

Closed vinibgoulart closed 5 months ago

vinibgoulart commented 5 months ago
akinncar commented 5 months ago

I can grab this one, I suggest !help instead of !commands

vinibgoulart commented 5 months ago

nice! you can continue with !help

samueldurantes commented 5 months ago

I can grab this one, I suggest !help instead of !commands

How do you think about consuming the descriptions of each command?

I think that each command should be an object, where you pass name, description, and action, like this:

export default {
  name: 'help',
  description: 'List all commands',
  action: async () => {},
}