mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
|
||
---|---|---|
.. | ||
config.yaml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
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 yourgo.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.