Skip to content

deeprefactoring/deeprefactoring-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Go Report Card

Introduction

This is a community bot of Глубокий Рефакторинг (Deep Refactoring).

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.10+]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

Messages

Change messages.yml file to add new bot messages.

[2]: https://telegram.me/BotFather
[3]: https://golang.org/dl