Skip to content

Murkiriel/GO

Repository files navigation

#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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published