Hubot rocketchat example in NodeJS with require


Does anyone have a simple example of the hubot-rocketchat API in JavaScript (on nodeJS) with the import (which is guaranteed to be done using require)?

I looked for examples on the internet and I didn’t find in JS someone help me please?

(I know it’s not an issue, but I would like help).

I thank you in advance!

Server Setup Information

  • Version of Rocket.Chat Server: 3.13.2
  • Operating System: Windowns 10
  • NodeJS Version: 14.17.1

I’d start by looking here