Skip to content

xtria/new_tg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TG-CLI telegram-bot!

https://github.com/mafia-007/mafia_cli

Install

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.7 c++-4.7

git clone https://github.com/xtria/new_tg
cd new_tg
chmod +x install.sh
./install.sh
./launch.sh
# Enter a phone number & confirmation code.
##close telminal

cd new_tg
wget https://valtman.name/files/telegram-cli-1215
mv telegram-cli-1215 tg
chmod +x tg
./tg
##close telminal

cd new_tg
screen ./launch.sh
# Commands
/createsuper name
/id
/ping
/lock links
/mute all
/fwd
/pin
/settings
/view
/username
/echo
/edite text


bot.lua:

tdcli = dofile('tdcli.lua')
redis = (loadfile "./libs/redis.lua")()

sudo_users = {
  284322619,  --id bot
  0
  }
  
 (xtria)

Releases

No releases published

Packages

No packages published