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

Diff of /trunk/README.md

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

revision 168 by rakin, Mon Jul 29 17:28:51 2024 UTC revision 405 by rakin, Mon Jul 29 17:30:04 2024 UTC
# Line 1  Line 1 
1    
2  <p align="center">  <p align="center">
3  <img src="https://res.cloudinary.com/rakinar2/image/upload/v1651761676/sudobot4_r257uw.png" height="200px" width="200px">  <img src="https://res.cloudinary.com/rakinar2/image/upload/v1659628446/SudoBot-new_cvwphw.png" height="200px" width="200px">
4  </p>  </p>
5    
6  <h1 align="center">SudoBot</h1>  <h1 align="center">SudoBot</h1>
# Line 9  Line 10 
10  <img src="https://img.shields.io/github/license/onesoft-sudo/sudobot?label=License" alt="GitHub">  <img src="https://img.shields.io/github/license/onesoft-sudo/sudobot?label=License" alt="GitHub">
11  <img src="https://img.shields.io/github/package-json/v/onesoft-sudo/sudobot?label=Version" alt="GitHub package.json version">  <img src="https://img.shields.io/github/package-json/v/onesoft-sudo/sudobot?label=Version" alt="GitHub package.json version">
12  <img src="https://img.shields.io/github/commit-activity/w/onesoft-sudo/sudobot?label=Commit%20Activity" alt="GitHub commit activity">  <img src="https://img.shields.io/github/commit-activity/w/onesoft-sudo/sudobot?label=Commit%20Activity" alt="GitHub commit activity">
13    <a href="https://discord.gg/892GWhTzgs"><img src="https://img.shields.io/discord/964969362073198652?label=Support+Chat" alt="Discord"></a>
14  </p>  </p>
15    
16  <p align="center">  <p align="center">
17  A Discord bot for moderation purposes.  A Discord bot for moderation purposes.
18  </p>  </p>
19    
20    ### Features
21    
22    - Strong automoderation system with tools like anti-spam and anti-raid
23    - Useful moderation tools
24    - Secure
25    - Fun commands
26    
27    ### Getting started
28    
29    You can request an invite for SudoBot [here](https://sudobot.everything-server.ml/).
30    Alternatively, you can create your own Discord API application and then host SudoBot.
31    
32    ### Setup for Custom Hosting
33    
34    First, download the latest release or clone the repo by running:
35    
36    ```
37    git clone https://github.com/onesoft-sudo/sudobot
38    ```
39    
40    Then go inside the project directory, and run the following command:
41    
42    ```
43    npm install -D
44    ```
45    
46    Then open up the `config/config.json` file and change at least the following:
47    
48    ```json
49    {
50        "global": {
51            "id": "set your home guild id",
52            "owners": ["set owner user ids here"],
53            ...
54        },
55        "guild id here": {
56           "prefix": "-",
57           "mod_role": "the mod role, users having it will be able to use the bot",
58           "gen_role": "general role id, which all users have",
59           "mute_role": "the muted role id",
60           "admin": "the admin role id. users having it will be immune to sudobot.",
61           ...
62        }
63    }
64    ```
65    
66    **Note**: `...` means other options that exist in the config, you can edit them to customize the settings, but not required.
67    
68    Build the project:
69    
70    ```
71    npm run build
72    ```
73    
74    Deploy slash commands globally:
75    
76    ```
77    node deploy-commands.js
78    ```
79    
80    Start the bot:
81    
82    ```
83    npm start
84    ```
85    
86    And if everything was configured correctly, you should not see an error and the bot should say `Logged in as [tag]!`.
87    Then you can run the following command in Discord to make sure everything is working:
88    
89    ```
90    -about
91    ```
92    
93    That should show the bot information.
94    Congratulations! You've successfully set up your own instance of SudoBot!
95    
96    ### Support
97    
98    - **Email**: [email protected]
99    - **Discord Servers**: [The Everything Server](https://discord.gg/Km7ZcfXT6P), [Support Server](https://discord.gg/892GWhTzgs)

Legend:
Removed from v.168  
changed lines
  Added in v.405

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26