Setting up the Database
The database natively used is MongoDB. So you will need to create an account for this step.
-
Once you have created an account navigate to the cluster page and create a free cluster.

-
Next wait for the changes to be deployed (this could take upto 5 minutes) and click the
connectbutton. -
Select the
Allow Access from Anywherebutton and thenAdd Ip Address.
-
Create a
dbUseranddbUserPasswordand hold onto this for later.
-
Navigate to
Choose a connection methodclickConnect your applicationand copy the provided link.
-
Navigate to
src/config.jsin your bot and replace themongodb://linkat the bottom with the link you have copied. Make sure to replace<password>with the password you created .
WARNING!
Do not share your username and password with anyone.