Closed hgarg95 closed 1 year ago
Hello
The magic happens in https://github.com/hubotio/hubot/blob/7795fe53fb1a3dde85537589149cab0f0b58404a/bin/hubot.js#L114-L128
If it doesn't work as you desired, you could move your scripts into a separate Hubot plugin. Many hubot script plugins include a main coffee or JS file which in turn loads the rest of the code from the author's preferred layout.
Generally I'd recommend working in alignment with your framework - "swim with the stream". If Hubot doesn't support your ideal layout, consider whether changing Hubot's layout to suit your needs has sufficient benefit for the effort you'll go to.
Gone stale.
Is it possible to organize custom scripts in the scripts directory into sub folders and have them automatically loaded by hubot?