mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-03-02 08:24:34 +00:00
md formatting doesnt work yet Started implementing owner feature Add .gitattributes to enforce LF line endings Temporary commit before merge Updated owner management Updated json and gitignore Proceed with role management Again, CI Fix some lint errors Implemented screening Per-bot API keys implemented Use getRoleByName func Fix unused imports Upgrade actions rm unused function Upgrade action Fix unaddressed errors
19 lines
1.3 KiB
JSON
19 lines
1.3 KiB
JSON
{
|
|
"id": "default_bot",
|
|
"active": false,
|
|
"telegram_token": "YOUR_TELEGRAM_BOT_TOKEN",
|
|
"owner_telegram_id": 111111111,
|
|
"anthropic_api_key": "YOUR_SPECIFIC_ANTHROPIC_API_KEY",
|
|
"memory_size": 10,
|
|
"messages_per_hour": 20,
|
|
"messages_per_day": 100,
|
|
"temp_ban_duration": "24h",
|
|
"model": "claude-3-5-sonnet-20240620",
|
|
"system_prompts": {
|
|
"default": "You are a helpful assistant.",
|
|
"custom_instructions": "Please follow these guidelines:\n- Your name is Atom.\n- If a user asks about buying apples, inform them that we don't sell apples.\n- When asked for a joke, tell a clean, family-friendly joke about programming or technology.\n- If someone inquires about our services, explain that we offer AI-powered chatbot solutions.\n- For any questions about pricing, direct users to contact our sales team at sales@example.com.\n- If asked about your capabilities, be honest about what you can and cannot do.\nAlways maintain a friendly and professional tone.",
|
|
"continue_conversation": "Continuing our conversation. Remember previous context if relevant.",
|
|
"avoid_sensitive": "Avoid discussing sensitive topics or providing harmful information.",
|
|
"respond_with_emojis": "Since the user sent only emojis, respond using emojis only."
|
|
}
|
|
} |