Added discord.js docs command #24
Labels
No Label
Backlog
bug::Awaiting merge
bug::fix
bug::S1
bug::S2
bug::S3
change::Awaiting merge
change::breaking
change::minor
change::new
change::patch
Good First Issue
In Progress
priority::critical
priority::high
priority::low
priority::medium
proposal::accepted
proposal::denied
proposal::pending
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: engineering/community-relations#24
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "djs"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
added 1 commit
c1fe2de7
- defined variables typeCompare with previous version
you are in an async function, you should use await instead of .then().catch().
If you really want to use .then() .catch() it shouldn't be an async function.
I personally advice to use await syntax as it's much clearer
this try catch will only catch error from the if (!args[0]) line so I don't see the point.
Huge try catch block are generally not such a good idea.
See my first comment about error handling
changed this line in version 3 of the diff
added 1 commit
da7d68d7
- used await instead of .then().catch() (KhaaZ)Compare with previous version
Thanks! Fixed that in da7d68d7
We have made all our command this way to make sure that any error will run the error handler
@Khaazz Requesting approval for merge.
approved this merge request
approved this merge request
resolved all threads
merged
mentioned in commit be5f2681d64e0119347827b13c63612216347c6e