GithubHelp home page GithubHelp logo

paydarbot's Introduction

spntaBot v 1.5.3

spnta is a telegram bot based on Telepot & Siarobo - http://telegram.me/spntaBot

spntaBot on Telegram:


How to Run ?

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

Setup

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 !

How to Stop ?

screen -r spntaBot

Ctrl + C !

Please

please feel free to ask any questions here by issues or on telegram via @cruel

paydarbot's People

Contributors

paydar-robotic avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.