Built-in Functions
For async/await, we can use this to pause the bot and handle certain events before proceeding.
A built-in Capitalization String Function for words in a sentence format.
A built-in Array.random() function to return a random element of an Array
Handling unhandledRejection, events that fails because of missing .catch(e => {...}); to prevent bot from crashing in middle of production.
Last updated