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

How to response a command interaction with an embed? Handle more than 1 bot? #20

Open
enrollment opened this issue Nov 24, 2023 · 0 comments

Comments

@enrollment
Copy link

I'm struggling a bit using your package, i'm not experienced on this type of packages.
I was able make it work with a simple /ping command that returns 'pong'.
In the listener method replyContent, i'm only able to return a string or null. How do I return an embed? Do I need to create an array with your EmbedBuilder and then serialize it?

Also, i'm interested in the possiblity of handling multiple bots at once for my users. (Users will provide their bot details and the application will respond with their specific bot). Is that possible? Saw another user asked for this feature and you've said it would be tricky for command interactions.
Want to know how would you approach this feature using your package.

Thanks in advance.

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

1 participant