GithubHelp home page GithubHelp logo

pasarkode / go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from murkiriel/go

0.0 2.0 0.0 151 KB

Telegram Bot API Multi-Threading, Multi-Purpose and Multi-Language for PHP

Home Page: https://t.me/Murkiriel

License: MIT License

PHP 95.55% Shell 4.18% Python 0.26%

go's Introduction

#GO Telegram Bot API @GO_Robot

##News

Telegram Channel @Murkiriel

##Setup

# Tested on Ubuntu 16.10 x64
git clone https://github.com/Murkiriel/GO.git

cd GO

sudo chmod +x *.sh

sudo ./instalar.sh

##Updates

# Tested on Ubuntu 16.10 x64
sudo chmod +x dependencias.sh

sudo ./dependencias.sh

Before you do anything, open config.php in a text editor and make the following changes:

• Set $bot to the authentication token you received from the @BotFather.

• Use @GO_Robot to find your telegram ID and add it to sudo list.

• Set sudo as your Telegram ID.

To start the bot, run ./iniciar.sh. To stop the bot, press Ctrl+C twice.

You may also start the bot with php bot.php, but then it will not restart automatically.

# To run a nohup background process
nohup ./iniciar.sh &

##Credits

krakjoe, for pthreads

emiglobetrotting, for php7_zts_pthreads.sh


PHP

go's People

Contributors

murkiriel avatar scrutinizer-auto-fixer avatar

Watchers

James Cloos avatar Ano Van 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.