This is a community bot of Глубокий Рефакторинг (Deep Refactoring).
- In telegram open dialog with [@BotFather]2
- Follow instructions there to create bot and obtain api_key
- Install [Go 1.10+]3
- Download code to
$GOPATH/src/github.com/deeprefactoring/deeprefactoring-botfolder:
mkdir -p github.com/deeprefactoring
cd github.com/deeprefactoring
git clone github.com/deeprefactoring/deeprefactoring-bot- Copy
config.yml.exampletoconfig.yml - Use api_key from previous steps in
config.yaml - Install dependencies
make deps - Build
make build, producesdeeprefactoring-botbinary - Run tests
make test
Change messages.yml file to add new bot messages.
[2]: https://telegram.me/BotFather ↩
[3]: https://golang.org/dl ↩