twitch-bot/examples/plugin/README.md

12 lines
530 B
Markdown
Raw Permalink Normal View History

# Plugin-Example
See the `main.go` for a very simple plugin example.
To build:
- Make sure you downloaded the **same** version of `twitch-bot` you're referencing to in your `go.mod`
- Make sure every dependency in the version of the `twitch-bot` you are using too is exactly the **same** version
- Build the bot and the plugin in the **same** environment (for example the same build step in a Docker build)
If you do have different versions of **any** dependency (including the Go standard library) your plugin will not load.