Skip to content

Commit

Permalink
Update/modernize the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ddinan committed May 11, 2022
1 parent 6b9b9ba commit 561f30b
Show file tree
Hide file tree
Showing 37 changed files with 4,269 additions and 930 deletions.
16 changes: 16 additions & 0 deletions dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
1. Create a **free** account with [MongoDB](https://www.mongodb.com/).
2. Create a **new cluster** using either **premium** or **free** plans.
3. After the cluster has been created, click **connect**.
![](https://i.imgur.com/0nLS6Di.png)
4. Set up credentials and then click on **Choose a connection method**. Remember your `<dbUser>` and `<dbUserPassword>` values, we will be using them later.
![](https://i.imgur.com/nAEi8NV.png)

5. Select **Connect with the MongoDB shell**.
![](https://i.imgur.com/P159czd.png)

6. Grab your `<dbName>` and `<identifier>` values from here, we will be using them shortly.
![](https://i.imgur.com/XTeYUxQ.png)

7. After MongoDB has been set up, navigate to your `.env` file located where the bot folder is and add the following line into it. Replace `<dbUser>`, `<dbUserPassword>`, `<dbName>` and `<identifier>` with the values you have set up with MongoDB.
`MONGODB_HOST=mongodb+srv:https://<dbUser>:<dbUserPassword>@<dbName>.<identifier>.mongodb.net/database?retryWrites=true&w=majority`
8. Run the bot and the dashboard should be running.
Binary file added lib/img/icons/commands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/img/icons/config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/img/icons/levels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/img/icons/logging.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion lib/languages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"TotalMembers": "Total members:",
"ID": "ID",
"HostedIn": "Hosted in",
"London": "London",
"UnitedStates": "United States",
"Uptime": "Uptime",
"CreatedBy": "Created by",
"SupportServer": "Support server",
Expand All @@ -63,6 +63,7 @@
"Premium": "Premium",
"UsersSkin": "'s skin:",
"SkinURL": "Skin URL",
"Registered": "Registered",

"CoinHeads": "heads",
"CoinTails": "tails",
Expand Down Expand Up @@ -176,6 +177,8 @@
"DeclinedProposal": "declined your proposal.",
"DidNotRespond": "the person you proposed to did not respond, try again later.",

"Answer": "Answer",

"YouCurrentlyHave": "You currently have",
"CurrentlyHas": "currently has",

Expand Down
Loading

0 comments on commit 561f30b

Please sign in to comment.