✨ Plugin & Adapter repository for gonebot ✨
Introduction (中文)
GoneRepo is a plugin and adapter repository for gonebot. It is a collection of plugins and adapters that can be used to extend the functionality of gonebot.
If you want to contribute to this project, please follow these steps:
- Fork this repository
- Create a new branch
- Make your changes
- Commit your changes
- Push your changes to your fork
For adapters, you should write your json like this:
{
"adapter": "onebotv11.OneBotV11",
"description": "OneBotV11 adapter for gonebot. Use it for QQ.",
"package": "github.com/gonebot-dev/goneadapter-onebotv11"
}
- adapter: The adapter instance for gonebot to use.
If correct, gonebot will use your adapter like this:
gonebot.LoadAdapter(&onebotv11.OneBotV11)
- description: A short description of the adapter for users to read, you can write anything you want, but it's better not to use offensive words.
- package: The module name of your adapter.
If correct, gonebot will install your adapter like this:
go get github.com/gonebot-dev/goneadapter-onebotv11
You should put your json file correspondingly, like onebotv11
in "packages/adapters/o/onebotv11/onebotv11.json"
For plugins, you should write your json like this:
{
"plugin": "echo.Echo",
"description": "Replys what you say",
"package": "github.com/gonebot-dev/goneplugin-echo"
}
- plugin: The plugin instance for gonebot to use.
If correct, gonebot will use your plugin like this:
gonebot.LoadPlugin(&echo.Echo)
- description: A short description of the plugin for users to read, you can write anything you want, but it's better not to use offensive words.
- package: The module name of your plugin.
If correct, gonebot will install your plugin like this:
go get github.com/gonebot-dev/goneplugin-echo
You should put your json file correspondingly, like echo
in "packages/plugins/e/echo/echo.json"