From da26c18224592cceb75f2ba9f15ed073f399b6ca Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 20:22:28 +0530 Subject: [PATCH 1/8] added Glitch Badge & fixed some stuff --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index cdc76e7..e9b84d5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -# CATH.EXE TEMPLATE - - +

CATH.EXE TEMPLATE

*This is a Bot Template based on Cath.exe, This templated **does not** conatain any data from Project Lighthouse. For Call of duty mobile stats invite the main instance using the **INVITE ME** badge.* @@ -21,11 +19,12 @@ If you like this bot, feel free to
-# Deployment +

Deployment

## Deploy Online [![Run On Replit](https://img.shields.io/static/v1?label=Run%20On&message=Repl.it&color=5865F2&logo=replit&logoColor=white&style=for-the-badge&scale=1.4)](https://repl.it/github/night0721/cath.exe) [![Deploy On Heroku](https://img.shields.io/static/v1?label=Deploy%20On&message=Heroku&color=5865F2&logo=heroku&logoColor=white&style=for-the-badge&scale=1.4)](https://heroku.com/deploy?template=https://github.com/night0721/cath.exe) +[![Remix on Glitch](https://img.shields.io/static/v1?label=Remix%20On&message=Glitch&color=5865F2&logo=glitch&logoColor=white&style=for-the-badge&scale=1.4)](https://glitch.com/edit/#!/import/github/night0721/cath.exe) ## Deploy Locally @@ -46,16 +45,16 @@ Download all these programs on your local machine by clicking on the badge & fol git clone https://github.com/night0721/cath.exe ``` -2. Rename the [`.env.example` -](https://github.com/night0721/cath.exe/blob/main/.env.example) file to `.env`
+2. Make a new file & name it ``.env`` then copy-paste all the contents from [`.env.example` +](https://github.com/night0721/cath.exe/blob/main/.env.example) into the `.env` file
-3. Create an application from Discord Developer's Portal then copy these things into the `.env` file.
+3. Create an application from Discord Developer's Portal then copy these things into the `.env` file.
[![Open Discord Developer Portal](https://badgen.net/badge/icon/discord?icon=discord&label=Developer%20Portal&color=5865F2&style=for-the-badge)](https://discord.com/developers/applications) - **Bot Token**
- **Application ID** (Client ID)
- **Client Secret**
-4. To view the logs, Create 5 Channels & 5 Webhooks in *your* **Discord Server:** corresponding to these logs. +4. To view the logs, Create 5 Channels & 5 Webhooks in *your* **Discord Server** corresponding to these logs. - **Server Log** (Log new Server Added/Premium Server)
- **Error Log** (Log Unhandled Rejection Error)
- **Ready Log** (Log when bot online)
@@ -74,13 +73,12 @@ git clone https://github.com/night0721/cath.exe npm i ``` -7. Now, to start the bot use this command. +7. Now, to start the bot use this command in your terminal. ```cmd node . ``` # Additional Steps - To enable the Economy Commands, you need to Setup a MongoDB Database. You can also watch a video guide [here](https://youtu.be/dQw4w9WgXcQ). 1. Create a Free [MongoDB Account](https://www.mongodb.com/cloud/atlas/register) From 3108abea22e2423a7579656f61cbb2b84c5f617d Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 20:35:41 +0530 Subject: [PATCH 2/8] Removed Glitch Badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index e9b84d5..1e429f2 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ If you like this bot, feel free to Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue or on our [discord server](https://discord.com/invite/SR7TeNJG67). + +Please note we have a [code of conduct](/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project. \ No newline at end of file diff --git a/README.md b/README.md index 1e429f2..814fd8d 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ If you like this bot, feel free to Support & Feature Request @@ -106,3 +111,11 @@ To Request new features contact us on Discord using the support server. You can report bugs or issues by opening a issue in this repository. Alternatevely you can also contact us on Discord using the support server. [![Support Server](https://img.shields.io/discord/718762019586572341?label=Support%20Server&logo=Discord&colorB=5865F2&style=for-the-badge&logoColor=white) ](https://discord.gg/SR7TeNJG67) + +

CONTRIBUTORS

+ +Contributions are always welcomed but make sure to read [Contributing.md](/CONTRIBUTING.md) first. + + + + From b324a937ec44209711c7ef17005e32ea86a18c04 Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:16:33 +0530 Subject: [PATCH 4/8] Fixed Links --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 814fd8d..bd5932b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ If you like this bot, feel free to CONTRIBUTORS -Contributions are always welcomed but make sure to read [Contributing.md](/CONTRIBUTING.md) first. +Contributions are always welcomed, but make sure to read [Contributing.md](/CONTRIBUTING.md) first. From fea100340a6c967fe7efe0f750f1dd2f930644ab Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:33:53 +0530 Subject: [PATCH 6/8] yes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fd9a98..ae30b1f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

CATH.EXE TEMPLATE

-*This is a Bot Template based on Cath.exe, This templated **does not** conatain any data from Project Lighthouse. For Call of duty mobile stats invite the main instance using the **INVITE ME** badge.* +> This is a Bot Template based on Cath.exe, This templated **does not** conatain any data from Project Lighthouse. For Call of duty mobile stats invite the main instance using the **INVITE ME** badge. **Cath.exe** is a Multipurpose Discord Bot with many features that include but are not limited to Moderation, Music and Economy. The Call of Duty Stats are courtesy of [**Project Lighthouse**](https://discord.gg/ARNFCu9NxK) by [**Path.exe**](https://www.youtube.com/channel/UC0hvUWYhyx_DOEBzLWEJxsw).

If you like this bot, feel free to **Star** and **fork** this repository.

From cc315a5cb35581a28c2e9e31025d641e1ac1e045 Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 21:35:45 +0530 Subject: [PATCH 7/8] yes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae30b1f..ffad3d6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ git clone https://github.com/night0721/cath.exe - **Command Log** (Log command usage)
- **DM Log** (Log when someone send DM to Bot)
- *You can also just use one Channel & one Webhook for everything but it will be really inconvenient.* + >You can also just use one Channel & one Webhook for everything but it will be really inconvenient.
From 93847e0d99a0fcf2ef410b9e40bf32c700b5a733 Mon Sep 17 00:00:00 2001 From: ThunderE75 <74486623+ThunderE75@users.noreply.github.com> Date: Mon, 26 Jul 2021 22:01:32 +0530 Subject: [PATCH 8/8] Added Steps to connect to Spotify app --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffad3d6..3263c21 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ git clone https://github.com/night0721/cath.exe ``` # Additional Steps -## Economy Commands +## Economy Commands [MongoDB] To enable the Economy Commands, you need to Setup a MongoDB Database. You can also watch a video guide [here](https://youtu.be/dQw4w9WgXcQ). 1. Create a Free [MongoDB Account](https://www.mongodb.com/cloud/atlas/register) @@ -97,9 +97,18 @@ To enable the Economy Commands, you need to Setup a MongoDB Database. You can al 12. Now you need to modify that link, - Replace `` with the password for the user that you created in **Step 7**. - Replace `myFirstDatabase` with the name of the Database that you named in **Step 5**. -13. That's it! +13. That's it. ## Music (Spotify) +To use spotify urls to play music follow these steps. + +1. Go to the [**Spotify's Developer Dashboard**](https://developer.spotify.com/dashboard/). +2. Click on **Create an app**. +3. Fill out the required info, then click on **CREATE**. +4. Copy the **Client ID** & paste it in the `SPOTIFY_ID` feild in the `.env` file. +5. Back in the Dashboard, Click on **SHOW CLIENT SECRET** +6. Copy the **Client Secret** & paste it in the `SPOTIFY_SECRET` feild in the `.env` file. +7. That's it. # Support, Feature Request & Bug Reports