spnta is a telegram bot based on Telepot & Siarobo - http://telegram.me/spntaBot
@spntaBot
- channel:
@CRUEL_Project
.
- channel:
First of all install Python >= 3.5 and then install pip3
.
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.5
sudo apt-get install python3-pip
OR Compile with Source:
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
tar xfz Python-3.5.*
cd Python-3.5.*
./configure --with-ensurepip=install
make
sudo make install
Run These commands for Resolving the dependencies.
sudo pip3 install pip -U
sudo pip3 install telepot -U
sudo pip3 install aiohttp
sudo pip3 install beautifulsoup4
sudo pip3 install youtube-dl
sudo pip3 install pafy
sudo pip3 install demjson
sudo pip3 install redis
sudo pip3 install pytz
sudo pip3 install six
sudo pip3 install requests --upgrade
sudo pip3 install soundcloud
sudo pip install pytesseract
sudo pip3 install Image
sudo apt-get install tesseract-ocr
install and start redis-server :
sudo apt install redis-server
sudo service redis-server start
First of all, take a look at your bot settings
- Make sure privacy is disabled (more info can be found by heading to the official Bots FAQ page). Send
/setprivacy
to @BotFather to check the current status of this setting.
in Terminal
:
git clone https://github.com/MOHAMADKHOSHNAVA/spntaBot; cd spntaBot
git clone https://github.com/acrcloud/acrcloud_sdk_python; python3 setup.py install; cd ..
Edite config.json
:
Set
token
to the authentication token that you received from@BotFather
.Set
sudo_members
as a JSON array containing your numerical Telegram ID. Other superadmins can be added too. It is important that you insert the numerical ID and NOT a string.
make a screen!
screen -S spntaBot
python3 bot.py
Ctrl + A + D !
screen -r spntaBot
Ctrl + C !
please feel free to ask any questions here by issues or on telegram via @cruel