/Hypers2Bot

(⛔️UNMAINTAINED & DEPRECATED) very simple Telegram Hyper bot written in Lua

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

⚠️ UNMAINTAINED / DEPRECATED ⚠️

Hypers2Bot

A simple telegram Hyper bot written in Lua

You should have lua installed

Installation

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