Kumi
e0f3408b5c
Added optional parameters to initialize RoombaBot with Pantalaimon's homeserver and token to handle encrypted rooms. Updated configuration to include these new options. This enhancement allows secure moderation of encrypted rooms using Pantalaimon.
12 lines
No EOL
422 B
YAML
12 lines
No EOL
422 B
YAML
homeserver: "https://matrix.example.com"
|
|
user_id: "@roomba:example.com"
|
|
access_token: "YOUR_ACCESS_TOKEN"
|
|
moderation_room_id: "!moderation_room_id:example.com"
|
|
|
|
# Above credentials need to be directly from your homeserver.
|
|
|
|
# If your moderation room is encrypted, you need to use Pantalaimon and fill the following fields:
|
|
|
|
pantalaimon:
|
|
homeserver: "http://localhost:8010"
|
|
access_token: "YOUR_PANTALAIMON_ACCESS_TOKEN" |