#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
emiglobetrotting, for php7_zts_pthreads.sh