SuperAPI AI 工具集

auto-reply

通用与其它

查看项目

更新于 10-15 19:55

技能介绍

Auto-Reply 是 cloddsbot 旗下的自动回复技能,用于按模式、关键词和条件创建自动响应规则,并支持定时消息。

主要能力:模式类型包括 keyword(包含关键词)、exact(精确匹配)、regex(正则)、startsWith(前缀)、endsWith(后缀);可添加条件,如 time(时间段)、day(指定星期)、user(指定用户)、channel(指定频道)、role(角色)、custom(自定义函数);响应支持变量(如 {{user.name}}、{{user.id}}、{{channel.name}}、{{match[0]}}、{{match[1]}}、{{date}}、{{time}})和异步函数(可调用外部 API);并支持冷却(按用户/频道/全局)、优先级、活动时段、频道限制等。

使用方式:聊天命令包括 /autoreply list、/autoreply active、/autoreply stats、/autoreply add <pattern> <response>、/autoreply add-regex、/autoreply add-keywords、/autoreply enable|disable|remove|edit|get <id>、/autoreply test <message>、/autoreply simulate <message>、/autoreply cooldown <id> <seconds>、/autoreply schedule <id> <start-end>、/autoreply priority <id> <number>、/autoreply channel <id> <channel>、/autoreply clear-cooldowns、/autoreply reload。也可通过 TypeScript API 使用 createAutoReplyManager 创建管理器,调用 addRule、listRules、test、enable、disable、deleteRule 等。

适用场景:社区或聊天机器人自动应答、FAQ 回复、按时间/用户/频道条件触发的消息、防刷屏的冷却控制、结合外部 API 的动态回复。

限制:资料未提供收费、平台支持范围、性能指标等具体信息;使用前建议先用 test 或 simulate 验证规则,合理设置优先级与冷却以避免冲突或刷屏。