39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
|
|
# Adapter configuration for ajarbot
|
||
|
|
# Copy this to adapters.local.yaml and fill in your credentials
|
||
|
|
|
||
|
|
adapters:
|
||
|
|
slack:
|
||
|
|
enabled: false
|
||
|
|
credentials:
|
||
|
|
# Get these from https://api.slack.com/apps
|
||
|
|
# 1. Create a new app
|
||
|
|
# 2. Enable Socket Mode and generate an App-Level Token (xapp-...)
|
||
|
|
# 3. Add Bot Token Scopes: chat:write, channels:history, groups:history, im:history, mpim:history
|
||
|
|
# 4. Install app to workspace to get Bot User OAuth Token (xoxb-...)
|
||
|
|
bot_token: "xoxb-YOUR-BOT-TOKEN"
|
||
|
|
app_token: "xapp-YOUR-APP-TOKEN"
|
||
|
|
settings:
|
||
|
|
# Optional: Auto-react to messages with emoji
|
||
|
|
auto_react_emoji: null # e.g., "thinking_face"
|
||
|
|
|
||
|
|
telegram:
|
||
|
|
enabled: false
|
||
|
|
credentials:
|
||
|
|
# Get this from @BotFather on Telegram
|
||
|
|
# 1. Message @BotFather
|
||
|
|
# 2. Send /newbot
|
||
|
|
# 3. Follow prompts to create bot
|
||
|
|
# 4. Copy the token
|
||
|
|
bot_token: "YOUR-BOT-TOKEN"
|
||
|
|
settings:
|
||
|
|
# Optional: Restrict bot to specific user IDs
|
||
|
|
allowed_users: [] # e.g., [123456789, 987654321]
|
||
|
|
# Message parsing mode
|
||
|
|
parse_mode: "Markdown" # or "HTML"
|
||
|
|
|
||
|
|
# User mapping (optional)
|
||
|
|
# Map platform user IDs to ajarbot usernames for memory system
|
||
|
|
user_mapping:
|
||
|
|
# slack:U12345: "alice"
|
||
|
|
# telegram:123456789: "bob"
|