Skip to content

gonebot-dev/gonerepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoneRepo

✨ 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.

Submit your own plugins & adapters!

If you want to contribute to this project, please follow these steps:

  1. Fork this repository
  2. Create a new branch
  3. Make your changes
  4. Commit your changes
  5. Push your changes to your fork

Adapter

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"

Plugin

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"

About

Plugin & Adapter repository for GoneBot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages