vinibgoulart / wpp-playground

Whatsapp playground
33 stars 15 forks source link

!commands command #15

Closed vinibgoulart closed 3 months ago

vinibgoulart commented 3 months ago
akinncar commented 3 months ago

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

vinibgoulart commented 3 months ago

nice! you can continue with !help

samueldurantes commented 3 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 () => {},
}