hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: bdeebbd984e467129191aa49474920f9e9887d0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Benson
Mod Manager from hell, for Willy World

## Running the Discord Bot
1. DM me to get the Discord bot token.
2. Place the token in `config/api.json` like this:

```json
{
    "token": "your-bot-token-here"
}
```

3. **Set the Discord channel ID**

Open `config/config.json` and update the `channel_id` field to the channel where the bot should post updates:

```json
{
    "channel_id": "YOUR_CHANNEL_ID_HERE",
    "modrinth_mods": [
        "example-mod",
        "another-mod"
    ],
    // ...
}
```

If you don't set this, the bot **will not find the channel** and won't send any messages.

4. Start the bot:

```bash
npm i
node .
```

## Running the Updater
> Make sure to run this from the **project root**, **not** inside the `updater` folder.

```bash
python updater/updater.py
```