GithubHelp home page GithubHelp logo

m4h4n / telegramluabot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thisisarman/telegramluabot

0.0 1.0 0.0 82 KB

It's A Bot Based On TelegramAPI For Chating With Users Got Reported In Telegram

License: Other

Lua 99.87% Shell 0.13%

telegramluabot's Introduction

TelegramLuaBot v2


It's A Bot Based On TelegramAPI,GroupBulter For Chating With Users Got Reported In Telegram

#HELP

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!

you can unblock user,with sending /blacklist or /blacklist twice!

Get Started You must have Lua (5.2+), LuaSocket, and LuaSec installed.

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

Admins

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.

You may also start the bot with lua bot.lua, but then it will not restart automatically.

##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.


telegramluabot's People

Contributors

thisisarman avatar

Watchers

Mahan 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.