In Pm:
/a --This Will Send Pm To Admin
/u (VIA REPLY) --This Will Send Back Pm To User
In Admin Pm
/blacklist --This Will Block User To Send Pm
/blacklist --This Will Block User To Send Pm
/whitelist --This Will UnBlock User To Send Pm
/whitelist --This Will UnBlock User To Send Pm
Atterntion!
How to install LuaRocks:
# Download and install LuaSocket and LuaSec
wget http://luarocks.org/releases/luarocks-2.2.2.tar.gz
tar zxpf luarocks-2.2.2.tar.gz
cd luarocks-2.2.2
./configure; sudo make bootstrap
sudo luarocks install luasocket
sudo luarocks install luasec
cd ..
Then GitClone the github repository:
# Clone the repo
git clone https://github.com/ThisIsArman/TelegramLuaBot.git
cd TelegramLuaBot
Bot Need To Know Where To Send Pms To? Open config.lua in a text editor and Do the following changes:
• Make sure that privacy is disabled, otherwise the bot won't see replied messages unless they starts with '/'. Write
/setprivacy
to BotFather to check the current setting.• Set bot_api_key to the authentication token you received from the BotFather.
• Set admin as your Telegram ID.
To start the bot, run bash launch.sh
. To stop the bot, press Ctrl+c twice.
##Contributors Everybody is free to contribute to TelegramLuaBot.
The creator who created This Bot is Arman. He can be contacted via Telegram . Special Thanks To
The creator and maintainer of otouto is topkecleon. He can be contacted via Telegram, Twitter, or email.
The kanger who created group butler :Telegram.