Skip to content

deep-assistant/telegram-bot

Repository files navigation

  1. Install dependencies:
pip3 install -r requirements.txt
  1. Get a token from https://t.me/BotFather
  2. Create config.py (be careful not to upload tokens to github)
cp config.example.py config.py
  1. Specify require tokens and set specific settings:
TOKEN = "" # Token from @BotFather
ANALYTICS_URL = "https://6651b4300001d.tgrasp.co"
PROXY_URL = "https://api.deep-foundation.tech"
ADMIN_TOKEN = "" # Admin token for api.deep-foundation.tech
KEY_DEEPINFRA = ""
IS_DEV = True
PAYMENTS_TOKEN = ""
GO_API_KEY = ""
GUO_GUO_KEY = ""
WEBHOOK_ENABLED = False  # or False to use polling
WEBHOOK_URL = "https://your.domain.com/webhook"
WEBHOOK_PATH = "/webhook"
WEBHOOK_HOST = "0.0.0.0"
WEBHOOK_PORT = 3000
  1. Start the bot
python3 __main__.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published