/XamarinOld

:zap: Advanced Anti Spam and Group Manager Bot For Telegram

Primary LanguageLuaGNU General Public License v2.0GPL-2.0


Xamarin (Zamarin)

####

The Pro Telegram Group Manager

Created By ♥ In Iran ***

**A Telegram Bot based on plugins using tg **

Installation

# ابتدا با کد زیر بسته پیش نیاز زبان برنامه نویسی لوآ را نصب میکنیم
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
# را نصب و اجرا میکنیم Bot سپس
cd $HOME
git clone https://github.com/amirhmz/XamarinTG.git
cd XamarinTG
git clone --recursive https://github.com/amirhmz/tg.git
chmod +x ./launch.sh
./launch.sh install
cd tg 
rm lua-tg.c # And Paste Lua-tg.c to tg Folder
make && cd # For Support Sticker Operation
./launch.sh # Enter a phone number & confirmation code.

##One Command Installation :)

sudo apt-get update; sudo apt-get upgrade -y --force-yes; sudo apt-get dist-upgrade -y --force-yes; sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson* libpython-dev make unzip git redis-server g++ -y --force-yes && git clone https://github.com/amirhmz/XamarinTG.git && cd XamarinTG && git clone --recursive https://github.com/amirhmz/tg.git && chmod +x ./launch.sh && ./launch.sh install && ./launch.sh
  • Note : put lua-tg.c in /root/XamarinTG/tg/ then reboot the server

Realm Configuration

After you run bot for first time,turn it off

create an empty group with it

run it again

obtain that groups id using /id and add its id to realms table in /data/config.lua

realm = {Your Realm ID},#Realms ID

then start the bot again :D


feedback.lua Configuration

After Your Bot Run for first time,turn it off go to /plugins/feedback.lua and in line 8 Set Your Realm ID in User msg Send To This Group :|

 local chat = "chat#id"..83535263 
   --like : local chat = "chat#id"..12345678

CTRL+S For Save it and start again


Contact Me

Bot Channel Telegram Email
Bot Join Developer :trollface: Email

If you are using /join service for first time

you have to send it 11 time ( Bot is spam reported )

Enjoy it ♥