/tgWikiBot

Telegram Wikipedia bot with buttons

Primary LanguagePython

tgWikiBot

Telegram Wikipedia bot with buttons

Pre requirements

Your need to run bot with Python3.10

(Love match cases <3)

Install

Clone repo

git clone https://github.com/Drugsosos/tgWikiBot.git

Install required dependencies

pip3 install -r requirements.txt

or

python3 -m pip install -r requirements.txt

Enter token

/.env

TOKEN=<your token>

Run main.py

python3 main.py

All command for alpine

Install Python3.10

apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/main python3

Install pip

apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community py3-pip

Install build-essentials, git & nano

apk add build-base nano git

Install setuptools

pip3 install setuptools

Clone repo

git clone https://github.com/Drugsosos/tgWikiBot.git

Install requirenment

If you use Ish shell get a cofe, its kinda time-consuming

cd tgWikiBot && pip3 install -r requirements.txt

Enter token

(change in 1-st line)

nano .env

Launch main.py

(if you use Ish shell dont close app, app has to be on your screen to work)

python3 main.py