tg-demo-bot

command module
v0.0.0-...-4784d17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 8 Imported by: 0

README

tg-demo-bot

Telegram demo bot

Installing

  1. Create .env file with environment variables
    • BOT_TOKEN - token for your bot, you can know ask
    • DB_DSN - database dsn
  2. Run docker-compose configuration
docker-compose up -d
  1. If previous step was successful, you can see in logs and database

TODO

  • Fill more fields about messages
  • Implement statistic command
  • Use reindexer/reindexer for work with statistics
  • Refactoring code
  • Implement work with telegram hooks

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL