Skip to content

sbh96/tgGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleGram Guard Inline Version

frist telegram anti spam and group moderation whit :

  • full power

  • fast speed

  • low space

  • 99% online

  • whit out crash or bug

  • Inline with out config


http://t.me/sajjad_021

https://github.com/tgMember/tGuard

http://tgmember.cf

https://t.me/tgMember


Instruction

first goto botfather and create a robot

trun on inline mode, inline location and change Inline feedback to 100%

revoke token


Install Bot

test with Ubuntu 16.04 x64:

git clone https://github.com/tgMember/tgGuard.git && cd tgGuard && bash make.sh

for install press key's "y" then "enter"


Set Configuratin

After install compelet, you must edit api.lua and tgGuard.lua with belove command

every where write api bot id you must insert robot api id created with botfather.

every where write cli bot id you must insert telegram account id.

every where write your id or owner you must insert your acoount id.

  • Edit api.lua

nano api.lua

replase your information in:

line 8 = api bot token

line 11 = your id (owner)

line 15 = your id & cli bot id & other sudo user's

line 165 = #Cli Bot Id - #Your Id

for save press key's

"ctrl+x"

"y"

"enter"

  • Edit tgGuard.lua

nano tgGuard.lua

edit and replace

line 25 = cli bot id

line 26 = cli bot id

line 27 = your id (owner)

line 28 = your id & cli bot id & other sudo user's

line 35 = api bot id

line 5946 = api bot id

for save press key's

"ctrl+x"

"y"

"enter"


Run API Robot

From cli robot account, start api bot (created with botfather)

Now send command to server:

./make.sh api

close server.


Launch Cli Bot

open server and send belove command:

cd tgGuard
screen -S nohup ./make.sh bot
    # Will ask you for robot phone number & confirmation code.

Help and commands

Now you must go to your telegram account and add cli bot to super group and send :

settings

for see inline settings and help
  • Don't use ! , # , / before command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published