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
connect
button. -
Select the
Allow Access from Anywhere
button and thenAdd Ip Address
. -
Create a
dbUser
anddbUserPassword
and hold onto this for later. -
Navigate to
Choose a connection method
clickConnect your application
and copy the provided link. -
Navigate to
src/config.js
in your bot and replace themongodb://link
at 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.