Skip to content

Conversation

neolectron
Copy link
Member

Problem

Modules aren't as self-contains as it gets, if a certain modules need an intent that we didn't initially planned, he shouldn't have to edit main.ts .

Solution

Allow modules to export their intents, and load it at bot start.

Copy link
Contributor

@luca-montaigut luca-montaigut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe check there is no regression on feature (missing intents) but looks cool !

@neolectron neolectron merged commit 79fb2e9 into master Sep 5, 2023
@neolectron neolectron deleted the feat/export-intents branch September 5, 2023 13:43
@neolectron neolectron mentioned this pull request Sep 5, 2023
3 tasks
potb pushed a commit that referenced this pull request Jan 5, 2024
potb pushed a commit that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants