Sign inSign up

dtcokr/chatbot

By dtcokr

Updated about 7 years ago
Archived

Using chat bot for Telegram in docker.

Image
0

261

dtcokr/chatbot repository overview

docker-chatbot

Docker Pulls GitHub last commit

Using telegram-chat-bot in docker.

Source code from Netrvin(GitHub).

configuration

  • create a telegram bot with the help of Bot Father
  • get the bot api
  • download and modify the config.json
  • run this container and mount the config.json to the container

download the config.json HERE, then modify the config.json. add your token(bot api as above) to the file.

{
    "Admin": 0,
    "Token": "",
    "Lang": "zh",
}

send /setadmin to the bot in Telegram to set yourself as administrator.

usage

$ docker run -d \
    -v /path/to/your/config.json:/pmbot/config.json \
    dtcokr/chatbot

Tag summary

Content type

Image

Digest

Size

46.1 MB

Last updated

about 7 years ago

docker pull dtcokr/chatbot