fix: Clarify bot role ID update is Michael's task

Step 3 of Part 2 now clearly marked as Michael's task.
Holly creates roles and copies IDs, then hands to Michael.
Michael SSHs to Command Center and updates bot.js.

Prevents confusion about who has SSH access to Command Center.

Chronicler #40
This commit is contained in:
Claude
2026-03-22 12:14:58 +00:00
parent cee8f1256e
commit 12ef5a5a32

View File

@@ -703,15 +703,36 @@ Frost Legend: 901234567890123456
Sovereign: 012345678901234567
```
### Step 3: Update Bot Code with Role IDs
### Step 3: Update Bot Code with Role IDs (Michael's Task)
**Edit `/opt/firefrost-discord-bot/bot.js`:**
**Holly:** After you create all the Discord roles and copy their IDs (from Step 2), give the list to Michael. He'll update the bot code.
Replace the `PRODUCT_ROLE_MAP` section:
**Michael:** Holly will give you a list like this:
```
The Awakened: 123456789012345678
Fire Elemental: 234567890123456789
Frost Elemental: 345678901234567890
Fire Knight: 456789012345678901
Frost Knight: 567890123456789012
Fire Master: 678901234567890123
Frost Master: 789012345678901234
Fire Legend: 890123456789012345
Frost Legend: 901234567890123456
Sovereign: 012345678901234567
```
**SSH to Command Center and edit the bot code:**
```bash
ssh root@63.143.34.217
nano /opt/firefrost-discord-bot/bot.js
```
**Find the `PRODUCT_ROLE_MAP` section and replace it:**
```javascript
const PRODUCT_ROLE_MAP = {
'2': '123456789012345678', // The Awakened
'2': '123456789012345678', // The Awakened (use Holly's actual ID)
'3': '234567890123456789', // Fire Elemental
'4': '345678901234567890', // Frost Elemental
'5': '456789012345678901', // Fire Knight
@@ -724,12 +745,28 @@ const PRODUCT_ROLE_MAP = {
};
```
**Save and exit** (Ctrl+X, Y, Enter)
**Restart the bot:**
```bash
systemctl restart firefrost-discord-bot
# Verify it restarted successfully
systemctl status firefrost-discord-bot
# Check logs to confirm no errors
journalctl -u firefrost-discord-bot -f
```
**You should see:**
```
✅ Bot logged in as Firefrost Subscription Manager#1234
🌐 Webhook server listening on port 3100
```
**Now hand back to Holly for Part 3.**
### Step 4: Configure Channel Permissions
**Create private channels for Fire/Frost paths:**