Kotik bot written in go
- Download and run Go installer
- Download and run MSYS2 installer
- Uncheck "Run MSYS2 32/64bit now"
- Open the MSYS2 "MinGW-w64 Win32/64 Shell" from the start menu to install additional dependencies
pacman -Syu
pacman -Syy git pkg-config mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-ffmpeg
- Fetch repo,
git clone https://github.com/Mixaill/Gotik/ .
- Create a GOPATH (skip if you already have a GOPATH you want to use)
- Configure environment for building Opus
export CGO_LDFLAGS="$(pkg-config --libs opus)"
export CGO_CFLAGS="$(pkg-config --cflags opus)"
- Get go dependencies
go get -tags nopkgconfig .
- Build Kotik
go build -o Kotik.exe .
- Run Kotik
./Kotik.exe