A simple telegram Hyper bot written in Lua
You should have lua installed
open Teminal and then
sudo apt-get update
sudo apt-get upgrade
Y
Y
sudo apt-get dist-upgrade
Y
Y
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
sudo apt-get install lua-socket
sudo apt-get install lua-sec
Clone the bot
git clone https://github.com/sepehrkiller/Hypers2Bot.git
cd Hypers2Bot
then config bot in Hypers2Bot.lua
local bot_api_key = "Your Token Here" -- token
local BASE_URL = "https://api.telegram.org/bot"..bot_api_key
local BASE_FOLDER = "" -- do not set this
And enter your telegram-id in admins table in Hypers2Bot.lua
local var = false
local admins = {111222333}-- put your id here
for k,v in pairs(admins) do
Save Hypers2Bot.lua
bash launch.sh install && bash launch.sh