A friendship Telegram's bot that connect a Repository on GitHub with a Scrum board on Trello.
You must setup the required enviroment variables inside .bashrc or .zshrc depend of your terminal configuration:
# Enviroment variables from telegram-scrum-bot gem:
export API_TELEGRAM_TOKEN="TOKEN-INFO"
export API_TRELLO_KEY="KEY-INFO"
export API_TRELLO_TOKEN="TOKEN-INFO"Or for development create a .env file with the next information:
# Enviroment variables from telegram-scrum-bot gem:
API_TELEGRAM_TOKEN="TOKEN-INFO"
API_TRELLO_KEY="KEY-INFO"
API_TRELLO_TOKEN="TOKEN-INFO"git clone https://github.com/hackvan/telegram-bot.gitto start the bot's server application:
$ bundle install
$ bundle exec ruby lib/telegram-bot.rbFrom the rubygems site:
To install and execute the application:
$ gem install telegram-scrum-bot
$ telegram-scrum-bot- name:
scrum_hackathon_bot - username:
@scrum_hackathon_bot - url: https://t.me/scrum_hackathon_bot
Telegram Bot Commands:
Initial Commands:
/start - bienvenida
/setup - asistente de configuración del bot
/help - ayuda con los comandos del bot
Configuration Commands:
/setgithubuser - establece la configuración del usuario de github
/setgithubrepository - establece la configuración del repositorio de github
/getgithubuser - obtiene la configuración del usuario de github
/getgithubrepository - obtiene la configuración del repositorio de github
Work Commands:
/issues - consultar el listado de Issues en el repositorio de Github
/trello - sincroniza los issues del repositorio en un tablero de Trello