You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
The current message if you don't have permissions is a #FF0000 embed saying "You don't have permission to run this command", but this should be customisable with a colour, title, and message depending on the error
Also if possible, support for default colours such as "success" and "danger", which these errors will use when no colour is provided
The text was updated successfully, but these errors were encountered:
Note: A fix to this should also handle the unhandledRejection event and stop the bot from crashing; e.g.
promise = new Promise((resolve, reject) => reject("There was a problem..."));
process.on('unhandledRejection', error => {
console.log("We're saved!: " + error)
})
setTimeout(() => console.log("Here's something to keep the program running"), 10000)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The current message if you don't have permissions is a #FF0000 embed saying "You don't have permission to run this command", but this should be customisable with a colour, title, and message depending on the error
Also if possible, support for default colours such as "success" and "danger", which these errors will use when no colour is provided
The text was updated successfully, but these errors were encountered: