Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

machinacanis/cryo-plugin-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryo-plugin-echo

这是 🧊cryo 的一个示例插件,通过响应规则过滤实现了一个简单的消息重复功能。

快速开始

go get -u github.com/machinacanis/cryo-plugin-echo

在项目中使用插件:

package main

import (
	"github.com/machinacanis/cryo"
	"github.com/machinacanis/cryo-plugin-echo"
)

func main() {
    bot := cryo.NewBot()
    bot.Init()
    
    bot.AddPlugin(CryoPluginEcho.Instance) // 添加插件
    
    bot.AutoConnect()
    bot.Start()
}

About

🧊聊天机器人框架 cryo 的示例插件项目兼插件模板

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages