29 lines
689 B
TOML
29 lines
689 B
TOML
# MusicLink Bot Configuration
|
|
#
|
|
# This bot uses the idonthavespotify API to convert music links
|
|
# between streaming services. No API credentials needed!
|
|
|
|
[matrix]
|
|
# Shadow mode (log responses without sending)
|
|
shadow = false
|
|
|
|
# Optional health server address (must bind localhost, e.g., "127.0.0.1:8080")
|
|
healthAddr = ""
|
|
|
|
# Matrix homeserver base URL
|
|
server = "https://matrix.example.com"
|
|
|
|
# Access token for the bot user
|
|
accessToken = "your-matrix-access-token"
|
|
|
|
# Full Matrix user ID for the bot
|
|
userId = "@musiclink:example.com"
|
|
|
|
# Allowlisted room IDs to monitor
|
|
rooms = [
|
|
"!roomid:example.com"
|
|
]
|
|
|
|
# Path to state store for sync token + dedupe
|
|
stateStorePath = "data/matrix-state.db"
|