mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 16:20:02 +00:00
11 lines
530 B
Markdown
11 lines
530 B
Markdown
# 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.
|