mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 00:30:02 +00:00
530 B
530 B
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.