# ============================================================ # autoClaude 配置文件模板 # 复制本文件为 config.toml 并填入实际值 # ============================================================ # --- Claude --- [claude] url = "https://claude.ai/api/auth/send_magic_link" # --- Stripe --- [stripe] pk = "pk_live_51MExQ9BjIQrRQnuxA9s9ahUkfIUHPoc3NFNidarWIUhEpwuc1bdjSJU9medEpVjoP4kTUrV2G8QWdxi9GjRJMUri005KO5xdyD" product_id = "prod_TXU4hGh2EDxASl" # --- Telegram Bot --- [telegram] bot_token = "your_bot_token_here" # @BotFather 获取 allowed_users = [] # 允许使用的用户ID列表(空=不限制) # --- 角色权限控制 --- # 每个 [[telegram.roles]] 定义一个角色,包含用户列表和允许的命令 # commands = ["*"] 表示全部命令 # 如果不配置 roles,所有 allowed_users 拥有全部权限 [[telegram.roles]] name = "admin" users = [] # 管理员用户 ID commands = ["*"] # 全部命令 [[telegram.roles]] name = "user" users = [] # 普通用户 ID commands = ["accounts", "verify", "stats", "status", "help", "start"] # --- 邮箱系统(轮询使用,API 接口相同)--- # 可添加多个 [[mail]] 块 # api_token: 直接配置 API Token,无需管理员账号密码 [[mail]] base_url = "https://mail.example.com/" api_token = "your_api_token_here" domains = ["example.com"] # [[mail]] # base_url = "https://mail2.example.com/" # api_token = "your_api_token_here" # domains = ["domain2.com", "domain3.com"] # --- 代理配置 --- # 代理从 proxy.txt 文件加载,格式: host:port:user:pass(每行一个)