catuserbot by sandy1709. a userbot for telegram
3.2K
i made only the container for easy using!
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
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 = "."
docker run --rm -it sk278/catuserbot python3 stringsetup.py
Content type
Image
Digest
Size
743.3 MB
Last updated
over 4 years ago
docker pull sk278/catuserbot