Skip to content

andreysaksonov/deeprefactoring-bot

 
 

Repository files navigation

CircleCI Go Report Card

Introduction

This is a community bot of Глубокий Рефакторинг (Deep Refactoring). It can handle various things including producing sarcastic comments on every [@achikin]1 post (not enabled by default).

Development guideline

Create bot api_key

  • In telegram open dialog with [@BotFather]2
  • Follow instructions there to create bot and obtain api_key

Contribution

  • Install [Go 1.8+]3
  • Download code to $GOPATH/src/github.com/deeprefactoring/deeprefactoring-bot folder:
mkdir -p github.com/deeprefactoring
cd github.com/deeprefactoring
git clone github.com/deeprefactoring/deeprefactoring-bot
  • Copy config.yml.example to config.yml
  • Use api_key from previous steps in config.yaml
  • Install dependencies make deps
  • Build make build, produces deeprefactoring-bot binary
  • Run tests make test

[1]: Famous deep refactoring collaborator Anton Chikin in Telegram
[2]: https://telegram.me/BotFather
[3]: https://golang.org/dl

Packages

No packages published

Languages

  • Go 93.7%
  • Makefile 6.3%