A low level library for interacting with Kook bot API. Currently, it is WIP.
It is not recommended to use it in production until it releases v1.0.0
.
This assumes that you already have a working Go environment.
go get github.com/lonelyevil/kook
Other than the library itself, you need to install a logger and an adapter for logger. Personally, I only implement the adapter for phuslu/log. So, in order to use the library, the following installation is necessary.
go get github.com/lonelyevil/kook/log_adapter/plog
See the examples in examples
folder.
See features.md.
WIP.
For code that are not well commented, users could refer to bwmarrin/discordgo as this library is heavily influenced by it.
I could not guarantee a stable API until the release of 1.0.0
.
Before that, any break change would happen.
After that, It would follow semantic versioning.
Currently, this repo does not accept any large PRs, as the API may be broken at any time when I want. Bug reports and code suggestions are greatly welcomed.
kook is a free and open source software library distributed under the terms of ISC License.
Built using IntelliJ IDEA