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

waitFor user message #79

Closed
kentogruener opened this issue Sep 17, 2021 · 5 comments
Closed

waitFor user message #79

kentogruener opened this issue Sep 17, 2021 · 5 comments
Assignees
Labels
Status: Awaiting Review Ready for review. Type: Feature Suggestions and tracking for new features.

Comments

@kentogruener
Copy link

Suggestions

Specific API to await messages from users

@boring-cyborg
Copy link

boring-cyborg bot commented Sep 17, 2021

Hello, and thanks for opening an issue! As this is the first time you've created an issue on this repository, we'd just like to offer you a warm welcome to the project, and the following pointers:

  • Most importantly, all issues must adhere to our Code of Conduct. Please give it a quick read if you haven't already.

  • While our team is passionate about the projects we've created here, we're all volunteers. Please don't be offended if it takes time for us to get to your issue - we'll be here as soonas we can be!

  • Please provide as much information as possible when asking a question, reporting a problem, or submitting a feature request. This will help us to address your issue quickly and efficiently. If you forgot to add some information, no worries - feel free to edit the issue and add anything you missed!

    Thanks for contacting us! If you have any further questions, please feel free to join us on Discord in the #dev-kotdis channel (or #kordex-discussion for Kord Extensions projects), or to contact a staff member directly.

@gdude2002 gdude2002 self-assigned this Sep 18, 2021
@gdude2002 gdude2002 added the Type: Feature Suggestions and tracking for new features. label Sep 18, 2021
@gdude2002
Copy link
Member

The latest push contains the following functions:

  • A general waitForMessage
  • MessageChannelBehavior.waitForMessage
  • UserBehavior.waitForMessage
  • MessageBehavior.waitForReply
  • CommandContext.waitForResponse

Hopefully that'll sort you out for now.

@bosukas
Copy link
Contributor

bosukas commented Sep 18, 2021

Would it be possible to allow for the waitFor functions to take in the Arguments class and it would parse it like a command?

@gdude2002
Copy link
Member

You're asking for a conversational API, which is something I started planning in #57

@gdude2002 gdude2002 added the Status: Awaiting Review Ready for review. label Sep 18, 2021
@gdude2002
Copy link
Member

As this has been implemented and no feedback has been provided, I'll assume this issue is solved. Feel free to comment or open a new issue if there are further things to discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Review Ready for review. Type: Feature Suggestions and tracking for new features.
Projects
None yet
Development

No branches or pull requests

3 participants