Open
Description
Problem
I've notices that even after the new module abstraction we still have to wire some of the stuff outside of the module.
to name a few :
- environment variables schema in
src/config.ts
- cache keys in
src/core/cache.ts
- intents in main.ts - fixed by feat: allow modules to export intents #55
Solution
To fix the leaky abstraction, we should allow users to provide this configuration within the scope of their module.
I'm keen into taking a shot at this next time I work on the bot.