Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Run logic upon command, instead of just placeholder on string #4

Open
aijanai opened this issue Dec 1, 2022 · 3 comments

Comments

@aijanai
Copy link

aijanai commented Dec 1, 2022

It would be nice if it was possible to execute logic to do advanced parsing of an input command, instead of just pasting the input on a predefined string.

This could allow for more complex cases management

@mpatou
Copy link

mpatou commented Jan 18, 2024

Can you give some details of what you would envision ?

@aijanai
Copy link
Author

aijanai commented Jan 18, 2024

So for example, I receive a bunnylol command: I trigger a call to an external API (say, localhost:3000/) so that I can run custom logic and return the answer to the JS server

@mpatou
Copy link

mpatou commented Jan 22, 2024

I could have a look at that. I have a few stuff on my plate but I could see how to do that maybe in the coming month.

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

No branches or pull requests

2 participants