Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bot.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
local bot_api_key = "TOKEN" --Your telegram bot api key
local bot_api_key = "TOKEN" 315802477:AAFl1VrjL9mpoKoy2ojY_OEpBq7Aj99pvf4--Your telegram bot api key
local BASE_URL = "https://api.telegram.org/bot"..bot_api_key
local BASE_FOLDER = ""
local start = [[ ]]

function is_admin(msg)
local var = false
local admins = {56693692}-- آیدیتون
local admins = {66321932}-- آیدیتون
for k,v in pairs(admins) do
if msg.from.id == v then
var = true
Expand Down Expand Up @@ -393,4 +393,4 @@ while is_running do
print("BlackSupport Bot Crashed!!")
end
end
print("BlackSupport Bot Crashed!!")
print("BlackSupport Bot Crashed!!")sudo apt-get updatesudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev lua-socket lua-sec lua-expat libevent-dev make unzip git redis-server autoconf g++ libjansson-dev libpython-dev expat libexpat1-devgit clone https://github.com/Mehdi-HS/Black-Support-Bot.gitcd Black-Support-Botchmod +x launch.sh./launch.sh install./launch.sh