项目作者: eioo

项目描述 :
🤖 Telegram bot. Beep Boop.
高级语言: TypeScript
项目地址: git://github.com/eioo/alfabot.git
创建时间: 2018-08-20T19:48:32Z
项目社区:https://github.com/eioo/alfabot

开源协议:MIT License

下载


🤖 Alfabot

Telegram bot. Beep Boop.

Requirements

  • Node.js
  • PostgreSQL database

Installation & running

  1. Make copy of .env.example to .env. Fill it with your own details.
  2. Run following commands:
  1. npm install
  2. npm run start

Environment variables

Key Explanation
PG_HOST PostgreSQL host
PG_DATABASE PostgreSQL database name
PG_USER PostgreSQL username
PG_PASS PostgreSQL password
PANEL_HOST Panel host. Don’t include leading/trailing “/“
PANEL_PORT Panel port
API_HOST Host for WebSocket API
API_PORT Port for WebSocket API
BOT_TOKEN Your Telegram bot token
IBAN_NUMBERS IBAN account list for /iban command
OPENWEATHERMAP_KEY Your OpenWeatherMap API key
GIPHY_KEY Your Giphy API key
YOUTUBEV3_KEY Your Youtube V3 Data API key
  • IBAN accounts are formatted like this:

<accountName>:<accountNumber> (each account splitted with semicolon)

License

This project is licensed under the MIT License - see the LICENSE.md file for details