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

Error handling #8

Open
mmcmd opened this issue Oct 14, 2019 · 2 comments
Open

Error handling #8

mmcmd opened this issue Oct 14, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mmcmd
Copy link
Owner

mmcmd commented Oct 14, 2019

Add error handling for multiple exceptions such as command still on cooldown and missing args

@mmcmd mmcmd added the enhancement New feature or request label Oct 14, 2019
@mmcmd mmcmd added this to the v1.2 milestone Oct 14, 2019
@mmcmd mmcmd self-assigned this Oct 14, 2019
@vcidst
Copy link
Contributor

vcidst commented Oct 17, 2019

How to implement this? I see an is_on_cooldown() function in the API. Will that need to be added to the beginning of every async function?

@mmcmd
Copy link
Owner Author

mmcmd commented Oct 17, 2019

I believe it is possible to create a global cooldown function, though I'm not 100% sure. The discord.py discord may have some examples on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants