-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Noticed a few bugs. 1) Changed invalid import from discord.js. Implicitly had an any type for `onFail`. ```diff -ReplyMessageOptions +MessageReplyOptions ``` 2) Corrected the improper catching of errors by implementing try/catch blocks. Included more detailed error responses. 3) Default reply for slash with onFail inputted was invalid because it could also be a string.
- Loading branch information
1 parent
f1627ac
commit 31f08f2
Showing
1 changed file
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters