huskies: merge 472_story_discord_chat_transport
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Discord Transport
|
||||
# Copy this file to bot.toml and fill in your values.
|
||||
# Only one transport can be active at a time.
|
||||
#
|
||||
# Setup:
|
||||
# 1. Create a Discord Application at discord.com/developers/applications
|
||||
# 2. Go to Bot → create a bot and copy the token
|
||||
# 3. Enable "Message Content Intent" under Privileged Gateway Intents
|
||||
# 4. Go to OAuth2 → URL Generator, select "bot" scope with permissions:
|
||||
# Send Messages, Read Message History, Manage Messages
|
||||
# 5. Use the generated URL to invite the bot to your server
|
||||
# 6. Right-click the channel(s) → Copy Channel ID (enable Developer Mode in settings)
|
||||
|
||||
enabled = true
|
||||
transport = "discord"
|
||||
|
||||
discord_bot_token = "your-bot-token-here"
|
||||
discord_channel_ids = ["123456789012345678"]
|
||||
|
||||
# Discord user IDs allowed to interact with the bot.
|
||||
# When empty, all users in configured channels can interact.
|
||||
# discord_allowed_users = ["111222333444555666"]
|
||||
|
||||
# Bot display name (used in formatted messages).
|
||||
# display_name = "Assistant"
|
||||
|
||||
# Maximum conversation turns to remember per channel (default: 20).
|
||||
# history_size = 20
|
||||
Reference in New Issue
Block a user