You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In passive mode, Wheatley will not advertise or react to commands, and
only load components that are marked as passive. This is to allow
additional secondary instances of the bot to coexist with a running
primary instance on the same server without interference, e.g., for
testing new features.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,15 @@ Secrets and other bot info must be configured in the `auth.json` file. An exampl
54
54
"host": "127.0.0.1", // optional
55
55
"port": 27017// optional
56
56
},
57
-
"freestanding": false
57
+
"freestanding": false, // optional
58
+
"passive": false// optional
58
59
}
59
60
```
60
61
61
62
Mongo credentials can be omitted locally if you don't need to work on components that use mongo. `freestanding: true`
62
63
can be specified to turn on only components which don't rely on channels etc. specific to Together C & C++ to exist.
63
64
Freestanding mode also disables connecting to MongoDB.
65
+
`passive: true` can be specified to run the bot in passive mode, where it will not advertise or react to commands, and only load components that are marked as passive (useful for testing new features in a second instance without interfering with a running primary instance).
0 commit comments