A Telegram Bot based on plugins using tg. Forked from Yagop's.
# 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 libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev# After those dependencies, lets install the bot
cd $HOME
git clone https://github.com/tehran98/Team-Spammer.git
cd Team-Spammer
./launch.sh install
./launch.sh # Will ask you for a phone number & confirmation code.list command for spam: /spam /spm /hello
دوستان بعد از نصب ربات پلاگین های اسپم را فعال کنید
!plugins enable spam !plugins enable spm !plugins enable hello
در حال تکمیل کردن سورس هستیم فعلا همینها هم اسپم خوب میکنند
Those commands require a privileged user, privileged users are defined inside data/config.lua (generated by the bot), stop the bot and edit if necessary.
If your Linux/Unix comes with upstart you can run the bot by this way
$ sed -i "s/yourusername/$(whoami)/g" etc/uzzbot.conf
$ sed -i "s_telegrambotpath_$(pwd)_g" etc/uzzbot.conf
$ sudo cp etc/uzzbot.conf /etc/init/
$ sudo start uzzbot # To start it
$ sudo stop uzzbot # To stop it