Skip to content

mohammadhrad/Anti-Spam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CerNerCompany

Library Telegram-bot Lua Redis

An administration Telegram bot using Telegram-cli

Installation

Debian/Ubuntu and derivatives:

# Tested on Ubuntu 16.04
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install git redis-server lua5.2 liblua5.2-dev lua-lgi libnotify-dev unzip tmux -y && add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && apt-get upgrade && sudo apt-get install libconfig++9v5 libstdc++6 && sudo apt autoremove

In case of errors like version GLIBCXX_3.4.21 not defined, download manually libstdc++6 from here, install the package with dpkg -i and repeat the previous step.

If you are not able to install the bot in Ubuntu 14, an upgrade to Ubuntu 16.04 is recommended. Upgrade from terminal: sudo do-release-upgrade


After installing the dependencies, lets install the bot:

 git clone https://github.com/CerNerCompany/Anti-Spam
 cd Anti-*
 chmod +x C
 ./C install
 ./C config
 ./C login-Cli # Will ask you for a phone number & confirmation code.
 ./C login-Api
 ./C Change-Login #Changed Login
 ./C start

Developer: Amir Bagheri

Company Channels:

CerNer Company


More information CerNer Company

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 97.8%
  • Shell 2.2%