Sign inSign up

sk278/catuserbot

By sk278

•Updated over 4 years ago

catuserbot by sandy1709. a userbot for telegram

Image
1

3.2K

sk278/catuserbot repository overview

⁠Catuserbot a great userbot for Telegram

⁠all credits to: https://github.com/sandy1709/catuserbot⁠ / https://github.com/TgCatUB/catuserbot⁠

i made only the container for easy using!

⁠docker-compose.yml

version: '3'
services:
    catuserbot:
       image: sk278/catuserbot:latest
       container_name: catuserbot
       network_mode: bridge
       environment:
          - TZ=Europe/Berlin # your timezone
       volumes:
          - ./catuserbot/exampleconfig.py:/root/userbot/config.py # configfile read docs
          - /etc/localtime:/etc/localtime:ro
       restart: unless-stopped

⁠exampleconfig.py

from sample_config import Config


class Development(Config):
    # get this values from the my.telegram.org
    APP_ID = "123456789"
    API_HASH = "abcdefrgh123456789e"
    # the name to display in your alive message
    ALIVE_NAME = "Your value"
    # create any PostgreSQL database (i recommend to use elephantsql) and paste that link here
    DB_URI = "Your value"
    # After cloning the repo and installing requirements do python3 telesetup.py an fill that value with this
    STRING_SESSION = "Your value"
    # create a new bot in @botfather and fill the following vales with bottoken
    TG_BOT_TOKEN = "Your value"
    # create a private group and a rose bot to it and type /id and paste that id here (replace that -100 with that group id)
    PRIVATE_GROUP_BOT_API_ID = -100
    # command handler
    COMMAND_HAND_LER = "."
    # command hanler for sudo
    SUDO_COMMAND_HAND_LER = "."

⁠create your STRING_SESSION:

docker run --rm -it sk278/catuserbot python3 stringsetup.py

Tag summary

Content type

Image

Digest

Size

743.3 MB

Last updated

over 4 years ago

docker pull sk278/catuserbot