The first CODM discrod bot -- cath.exe Template
Find a file
2021-09-18 00:30:10 +08:00
.github Fixed the Invite Link 2021-09-12 23:56:37 +05:30
command moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
commands moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
events moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
models update 2021-07-13 11:17:39 +08:00
unused moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
util moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
.env.example moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
.eslintrc.js update 2021-07-13 11:17:39 +08:00
.gitattributes moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
.gitignore moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
.jshintrc update 2021-07-13 11:17:39 +08:00
.replit cath v3.0.0 2021-09-06 18:38:25 +08:00
app.json Good 2021-06-12 19:16:08 +08:00
bot.js moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
config.json moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
index.js cath v3.0.0 2021-09-06 18:38:25 +08:00
LICENSE Moved Licence to root 2021-09-11 19:30:40 +05:30
package.json merge 2021-09-18 00:30:10 +08:00
Procfile Bot 2021-06-12 18:53:51 +08:00
README.md moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00
start.bat moved unused commands to unused dir & new v13 cmds 2021-09-18 00:28:39 +08:00

CATH.EXE botStatus

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 by Path.exe.

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

inviteme Support Server Repo Stars Open in Visual Studio Code Trello

Build with:

JavaScript node npm MongoDB

Deployment

Deploy Online

Run On Replit Deploy On Heroku

Deployment Locally

Prerequisite

Download all these programs on your local machine by clicking on the badge & following the standard installing procedure. You can use any IDE but we recommand VS Code.

git Open in Visual Studio Code node

Step by Step Walkthrough

YouTube Tutorial

  1. Clone this repository
git clone https://github.com/night0721/cath.exe
  1. Rename the .env.example file to .env

  2. Create an application from Discord Developer's Portal then copy these things into the .env file.
    Open Discord Developer Portal - Bot Token
    - Application ID (Client ID)
    - Client Secret

  3. 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)
    • 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.


  4. One by one paste the webhook url in a web browser & copy the ID & the TOKEN and paste it in the corresponding feilds in the .env file.

  5. After this, you need to install all dependencies by using this command. This will takes a few minutes.

    npm i
    
  6. Now, to start the bot use this command in the terminal.

    node .
    

Additional Steps

To enable the Economy Commands, you need to Setup a MongoDB Database. You can also watch a video guide here.

  1. Create a Free MongoDB Account
  2. Click on the Create a New Database.
  3. Selct the CREATE option in the Shared Teir.
  4. Select a Cloud Provider & Region that is geographically closer to the average user that will use the bot. This will effect the responce time of the bot.
  5. Then you can Name your Cluster, after that click on Create Cluster. This will take a couple of minutes.
  6. Then click on Database Access from the sidebar & then click on Add New Database User.
  7. Under the Password - Authentication Method. Enter a username & password. then click on Add User.
  8. After that, click on Network Access from the sidebar & then click on Add IP Address. & click on the Add Current IP Address Then click on Confirm.
  9. now, Click on Database from the sidebar & then click on Connect.
  10. Then on click on Connect your Application. & Copy the link.
  11. The paste that link in the MONGODB feild in the .env file.
  12. Now you need to modify that link,
    • Replace <password> 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!

Support, Feature Request & Bug Reports

Support & Feature Request

Join the official Support Server on Discord & we will be happy to assist you.
To Request new features contact us on Discord using the support server.

Report Bugs

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