https://github.com/mixaill/gotik
Kotik bot written in go
https://github.com/mixaill/gotik
Last synced: about 2 months ago
JSON representation
Kotik bot written in go
- Host: GitHub
- URL: https://github.com/mixaill/gotik
- Owner: Mixaill
- License: bsd-3-clause
- Created: 2015-07-20T14:44:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-18T21:31:57.000Z (about 9 years ago)
- Last Synced: 2025-03-22T02:12:16.709Z (over 1 year ago)
- Language: Go
- Size: 12.4 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gotik
Kotik bot written in go
## Build and run on Windows
1. Download and run [Go installer](https://golang.org/dl/)
2. Download and run [MSYS2 installer](http://sourceforge.net/projects/msys2/)
- Uncheck "Run MSYS2 32/64bit now"
3. Open the MSYS2 "MinGW-w64 Win32/64 Shell" from the start menu to install additional dependencies
1. `pacman -Syu`
2. `pacman -Syy git pkg-config mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-ffmpeg`
4. Fetch repo, `git clone https://github.com/Mixaill/Gotik/ .`
5. Create a GOPATH (skip if you already have a GOPATH you want to use)
6. Configure environment for building Opus
````shell
export CGO_LDFLAGS="$(pkg-config --libs opus)"
export CGO_CFLAGS="$(pkg-config --cflags opus)"
````
7. Get go dependencies
`go get -tags nopkgconfig .`
8. Build Kotik
`go build -o Kotik.exe .`
9. Run Kotik
`./Kotik.exe`