Giter Site home page Giter Site logo

tabchi's Introduction

Features

  • Auto join groups
  • Auto savings links
  • Auto saving contacts
  • Exporting links
  • Broadcast and forward to all users,groups and supergroups
  • Powerfull stats
  • Contact managing
  • And more!

Sudo Commands

Command About
[#!/]pm id text Send a messafe to id with text
[#!/]block id Block a user from bot's private
[#!/]ulock id Unblock a user from bot's private
[#!/]markread on/off Set markread status on or off
[#!/]setphoto (on reply) Set bot profile photo
[#!/]contactlist Get contact list in json and txt format
[#!/]stats Get bot stats
[#!/]echo text Echo a text
[#!/]export links Export saved links in txt format
[#!/]bc text Broadcast text to all chats
[#!/]fwdall (on reply) Forward a message to all chats
[#!/]lua str Load and run str as lua script
$cmd run cmd in ssh terminal
  • You can use "#", "!", or "/" to begin all commands

Installation

# Install dependencies.
# Tested on Ubuntu 14.04. For other OSs, check out https://github.com/yagop/telegram-bot/wiki/Installation
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev lua-socket lua-sec lua-expat libevent-dev make unzip git redis-server autoconf g++ libjansson-dev libpython-dev expat libexpat1-dev

# Let's install the bot.
cd $HOME
git clone https://github.com/iTeam-co/Tabchi
cd Tabchi
chmod +x launch.sh
./launch.sh install
./launch.sh # Enter a phone number & confirmation code.

One command

To install everything in one command (useful for VPS deployment) on Debian-based distros, use:

#https://github.com/yagop/telegram-bot/wiki/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 lua-socket lua-sec lua-expat libevent-dev libjansson* libpython-dev make unzip git redis-server g++ autoconf -y --force-yes && git clone https://github.com/iTeam-co/Tabchi && cd Tabchi && chmod +x launch.sh && ./launch.sh install && ./launch.sh

Bot configuration

Open ./data/config.lua and add your ID to the "sudo_users" section in the following format:

  sudo_users = {
  122774063,
  122443587,
  0,
  Your ID
  }

Then restart the bot.

Powered by iTeam!

English Channel: @iTeam_en

Persian Channel: @iTeam_ir

tabchi's People

Contributors

alireza-star avatar buzz3rs avatar gitter-badger avatar groupforspeed avatar hamed9898 avatar hmon avatar imandaneshi avatar khfaji avatar paydaar avatar remembertheair avatar rondoozle avatar thisisarman avatar tiagodanin avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.