/[sudobot]/trunk/README.md
ViewVC logotype

Diff of /trunk/README.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 413 by rakin, Mon Jul 29 17:30:07 2024 UTC revision 451 by rakin, Mon Jul 29 17:30:18 2024 UTC
# Line 19  A Discord bot for moderation purposes. Line 19  A Discord bot for moderation purposes.
19    
20  ### Features  ### Features
21    
22  - Strong automoderation system with tools like anti-spam and anti-raid  - Strong automoderation system with tools like anti-spam and anti-raid ([Click here](https://onesoft-sudo.github.io/sudobot/automoderation/#what-can-the-bot-do) to see the full list)
23  - Useful moderation tools  - Useful moderation tools and utilities
24  - Secure  - Secure
25  - Fun commands  - Fun commands
26    - Active development & support
27    
28  ### Getting started  ### Getting started
29    
# Line 31  Alternatively, you can create your own D Line 32  Alternatively, you can create your own D
32    
33  ### Setup for Custom Hosting  ### Setup for Custom Hosting
34    
35    #### Requirements
36    * NodeJS version 16 or higher
37    * MongoDB version 5.0 or higher
38    * A Discord API application token with proper setup
39    
40    #### Optional Services
41    * Cat and dog API Token (for fetching cat and dog images using `cat` and `dog` commands, the tokens can be obtained at [thecatapi.com](https://thecatapi.com) and [thedogapi.com](https://thedogapi.com))
42    * Pixabay API Token (can be obtained [here](https://pixabay.com/api/docs/))
43    * A Discord Webhook URL for sending error reports
44    * A JWT Secret for the API services (if you don't have an API secret, you can run `openssl rand -base64 10` to generate a random base64 string and use it as secret)
45    
46  First, download the latest release or clone the repo by running:  First, download the latest release or clone the repo by running:
47    
48  ```  ```
# Line 65  Then open up the `config/config.json` fi Line 77  Then open up the `config/config.json` fi
77    
78  **Note**: `...` means other options that exist in the config, you can edit them to customize the settings, but not required.  **Note**: `...` means other options that exist in the config, you can edit them to customize the settings, but not required.
79    
80    Then copy the `.env.example` file to `.env` and open it, edit the information (such as bot token. MongoDB URI, etc) as needed.
81    
82  Build the project:  Build the project:
83    
84  ```  ```

Legend:
Removed from v.413  
changed lines
  Added in v.451

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26