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

Clean up command handlers #395

Open
mathgeek opened this issue Nov 7, 2021 · 0 comments
Open

Clean up command handlers #395

mathgeek opened this issue Nov 7, 2021 · 0 comments

Comments

@mathgeek
Copy link
Collaborator

mathgeek commented Nov 7, 2021

Decide how to handle command callback typing. Currently it's (bot, message) => void with most of the handlers actually returning a Promise or Promise. Should we bubble up the promises? Go through and explicitly type them as well.

#388 (comment)

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