-
Posts
1,282 -
Joined
-
Last visited
-
Days Won
5
Posts posted by Ahmed Ly
-
-
local cmd = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ____ __ __ ____ __ __ ___ ___ ___ ___ _ __ __ | \ | | | / || | || | | / _]| \ | | | | | | o )| | | | o || | || _ _ | / [_ | \ | | | | | | || ~ | | || _ || \_/ || _]| D | | |___ | ~ | | O ||___, | | _ || | || | || [_ | | | ||___, | | || | | | || | || | || || | | || | |_____||____/ |__|__||__|__||___|___||_____||_____| |_____||____/ ]] print('-----------------------------------------------------------------------------------------------------------') print(cmd) function showcommands () local msgs = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ---------------------------------------------------------------------------------------- sendMsg [Msg] - to send the message sendphoto [photo] - to send the photo sendAudio [Audio] - to send the Audio sendvideo [video] - to send the video sendDocument[Document] - to send the Document sendSticker[Sticker] - to send the Sticker sendChatAction [Action] - to change the Chat Action getme - to Get All info about the bot --------------------------------------------------------------------------------------- -]] print(msgs) end setTimer(showcommands,6000,1) function sends (playerSource,commandName,amount) if playerSource then if commandName == "sendMsg" then local texts = tostring(amount) if texts then sendMsg(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendMsg [amount]") end else if commandName == "bothelp" then local texts = tostring(amount) if texts == "-u" then local msgs = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ------------------------------------------ sendMsg [Msg] - to send the message sendphoto [photo] - to send the photo sendAudio [Audio] - to send the Audio sendvideo [video] - to send the video sendDocument[Document] - to send the Document sendSticker[Sticker] - to send the Sticker sendChatAction [Action] - to change the Chat Action getme - to Get All info about the bot ------------------------------------------ ]] print(msgs) else print("[usage] bothelp -u ") end else if commandName == "sendphoto" then local texts = tostring(amount) if texts then sendphoto(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendphoto [photo]") end else if commandName == "sendvideo" then local texts = tostring(amount) if texts then sendvideo(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendvideo [video]") end else if commandName == "sendAudio" then local texts = tostring(amount) if texts then sendAudio(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendAudio [Audio]") end else if commandName == "sendDocument" then local texts = tostring(amount) if texts then sendDocument(texts,"this is pdf") print("[Bot] Sending .. "..texts.."") else print("[usage] sendDocument [Document]") end else if commandName == "sendSticker" then local texts = tostring(amount) if texts then sendSticker(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendSticker [Sticker ]") end else if commandName == "sendChatAction" then local texts = tostring(amount) if texts then sendChatAction(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendChatAction [Action]") end else if commandName == "getme" then local id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups = getMe () print('[Bot] info = '..id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups) end end end end end end end end end end end addCommandHandler("sendMsg", sends) addCommandHandler("bothelp", sends) addCommandHandler("sendphoto", sends) addCommandHandler("sendvideo", sends) addCommandHandler("sendAudio",sends) addCommandHandler("sendSticker",sends) addCommandHandler("sendDocument",sends) addCommandHandler("sendChatAction",sends) addCommandHandler("getme",sends) function read () open = fileOpen("config.txt") reading = fileRead(open,46) fileFlush(open) fileClose(open) return reading end link = {} function readid () opentwo = fileOpen("config.txt") fileSetPos(opentwo,48) readingtow = fileRead(opentwo,10) fileFlush(opentwo) fileClose(opentwo) return readingtow end token = read() chat_id = readid() function result(sum) print(sum) end function sendMsg(Text) link[1] = "https://api.telegram.org/bot"..token.."/sendMessage".."?chat_id="..chat_id.."&text="..Text.."" print(link[1]) callRemote (link[1], result,Text) end function sendphoto(photo) link[2] = "https://api.telegram.org/bot"..token.."/sendPhoto".."?chat_id="..chat_id.."&photo="..photo.."" callRemote (link[2],result,photo) end function sendvideo(video) link[3] = "https://api.telegram.org/bot"..token.."/sendVideo".."?chat_id="..chat_id.."&video="..video.."" callRemote (link[3],result,video) end function sendAudio(Audio) link[4] = "https://api.telegram.org/bot"..token.."/sendAudio".."?chat_id="..chat_id.."&audio="..Audio.."" callRemote (link[4],result,Audio) end function sendDocument(Document,Texts) link[5] = "https://api.telegram.org/bot"..token.."/sendDocument".."?chat_id="..chat_id.."&document="..Document.."&caption="..Texts.."" callRemote (link[5],result,Document) end function sendSticker(Sticker) link[6] = "https://api.telegram.org/bot"..token.."/sendSticker".."?chat_id="..chat_id.."&sticker="..Sticker.."" callRemote (link[6],result,Sticker) end function sendChatAction(action) link[7] = "https://api.telegram.org/bot"..token.."/sendChatAction".."?chat_id="..chat_id.."&action="..action.."" print(link[7]) callRemote (link[7],result,action) end function started(wedf) link[9] = 'https://api.telegram.org/bot'..token..'/getMe' print(link[9]) fetchRemote (link[9], getalljson, "", false,wedf) end function getalljson( responseData, error,wedf) if error == 0 then local open = fileOpen('getme.txt') local reading = fileWrite(open,responseData) fileFlush(open) fileClose(open) end end function getMe () started('opened') local filetxt = fileOpen('getme.txt') local count = fileGetSize(filetxt) local reads = fileRead(filetxt,count) DATA = fromJSON ("["..reads.."]") fileFlush(filetxt) fileClose(filetxt) return DATA['result']['id'],DATA['result']['username'],DATA['result']['first_name'],DATA['result']['is_bot'],DATA['result']['can_read_all_group_messages'],DATA['result']['supports_inline_queries'],DATA['result']['can_join_groups'] end function getlinks () for i = 0,9 do if link[i] then return link[i],i end end end --local id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups = getMe () --print(id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups) --links,number = getlinks() --print(links,number) -- sendChatAction("") --sendMsg("hi") --sendChatAction("upload_photo") --sendSticker("https://www.gstatic.com/webp/gallery/1.webp") -- sendDocument("https://www.mathscinotes.com/wp-content/uploads/2016/02/Adler-Mortimer-How-To-Read-A-Book.pdf","this pdf") --sendAudio("https://g.top4top.io/m_488rkvrd2.mp3") -- sendvideo("https://p.top4top.io/m_872tuac51.mp4") -- sendphoto("https://j.top4top.io/i_1eb6c9296e1.png")
-
local cmd = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ____ __ __ ____ __ __ ___ ___ ___ ___ _ __ __ | \ | | | / || | || | | / _]| \ | | | | | | o )| | | | o || | || _ _ | / [_ | \ | | | | | | || ~ | | || _ || \_/ || _]| D | | |___ | ~ | | O ||___, | | _ || | || | || [_ | | | ||___, | | || | | | || | || | || || | | || | |_____||____/ |__|__||__|__||___|___||_____||_____| |_____||____/ ]] print('-----------------------------------------------------------------------------------------------------------') print(cmd) function showcommands () local msgs = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ---------------------------------------------------------------------------------------- sendMsg [Msg] - to send the message sendphoto [photo] - to send the photo sendAudio [Audio] - to send the Audio sendvideo [video] - to send the video sendDocument[Document] - to send the Document sendSticker[Sticker] - to send the Sticker sendChatAction [Action] - to change the Chat Action getme - to Get All info about the bot --------------------------------------------------------------------------------------- -]] print(msgs) end setTimer(showcommands,6000,1) function sends (playerSource,commandName,amount) if playerSource then if commandName == "sendMsg" then local texts = tostring(amount) if texts then sendMsg(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendMsg [amount]") end else if commandName == "bothelp" then local texts = tostring(amount) if texts == "-u" then local msgs = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ------------------------------------------ sendMsg [Msg] - to send the message sendphoto [photo] - to send the photo sendAudio [Audio] - to send the Audio sendvideo [video] - to send the video sendDocument[Document] - to send the Document sendSticker[Sticker] - to send the Sticker sendChatAction [Action] - to change the Chat Action getme - to Get All info about the bot ------------------------------------------ ]] print(msgs) else print("[usage] bothelp -u ") end else if commandName == "sendphoto" then local texts = tostring(amount) if texts then sendphoto(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendphoto [photo]") end else if commandName == "sendvideo" then local texts = tostring(amount) if texts then sendvideo(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendvideo [video]") end else if commandName == "sendAudio" then local texts = tostring(amount) if texts then sendAudio(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendAudio [Audio]") end else if commandName == "sendDocument" then local texts = tostring(amount) if texts then sendDocument(texts,"this is pdf") print("[Bot] Sending .. "..texts.."") else print("[usage] sendDocument [Document]") end else if commandName == "sendSticker" then local texts = tostring(amount) if texts then sendSticker(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendSticker [Sticker ]") end else if commandName == "sendChatAction" then local texts = tostring(amount) if texts then sendChatAction(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendChatAction [Action]") end else if commandName == "getme" then local id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups = getMe () print('[Bot] info = '..id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups) end end end end end end end end end end end addCommandHandler("sendMsg", sends) addCommandHandler("bothelp", sends) addCommandHandler("sendphoto", sends) addCommandHandler("sendvideo", sends) addCommandHandler("sendAudio",sends) addCommandHandler("sendSticker",sends) addCommandHandler("sendDocument",sends) addCommandHandler("sendChatAction",sends) addCommandHandler("getme",sends) function read () open = fileOpen("config.txt") reading = fileRead(open,46) fileFlush(open) fileClose(open) return reading end link = {} function readid () opentwo = fileOpen("config.txt") fileSetPos(opentwo,48) readingtow = fileRead(opentwo,10) fileFlush(opentwo) fileClose(opentwo) return readingtow end token = read() chat_id = readid() function result(sum) print(sum) end function sendMsg(Text) link[1] = "https://api.telegram.org/bot"..token.."/sendMessage".."?chat_id="..chat_id.."&text="..Text.."" print(link[1]) callRemote (link[1], result,Text) end function sendphoto(photo) link[2] = "https://api.telegram.org/bot"..token.."/sendPhoto".."?chat_id="..chat_id.."&photo="..photo.."" callRemote (link[2],result,photo) end function sendvideo(video) link[3] = "https://api.telegram.org/bot"..token.."/sendVideo".."?chat_id="..chat_id.."&video="..video.."" callRemote (link[3],result,video) end function sendAudio(Audio) link[4] = "https://api.telegram.org/bot"..token.."/sendAudio".."?chat_id="..chat_id.."&audio="..Audio.."" callRemote (link[4],result,Audio) end function sendDocument(Document,Texts) link[5] = "https://api.telegram.org/bot"..token.."/sendDocument".."?chat_id="..chat_id.."&document="..Document.."&caption="..Texts.."" callRemote (link[5],result,Document) end function sendSticker(Sticker) link[6] = "https://api.telegram.org/bot"..token.."/sendSticker".."?chat_id="..chat_id.."&sticker="..Sticker.."" callRemote (link[6],result,Sticker) end function sendChatAction(action) link[7] = "https://api.telegram.org/bot"..token.."/sendChatAction".."?chat_id="..chat_id.."&action="..action.."" print(link[7]) callRemote (link[7],result,action) end function started(wedf) link[9] = 'https://api.telegram.org/bot'..token..'/getMe' print(link[9]) fetchRemote (link[9], getalljson, "", false,wedf) end function getalljson( responseData, error,wedf) if error == 0 then local open = fileOpen('getme.txt') local reading = fileWrite(open,responseData) fileFlush(open) fileClose(open) end end function getMe () started('opened') local filetxt = fileOpen('getme.txt') local count = fileGetSize(filetxt) local reads = fileRead(filetxt,count) DATA = fromJSON ("["..reads.."]") fileFlush(filetxt) fileClose(filetxt) return DATA['result']['id'],DATA['result']['username'],DATA['result']['first_name'],DATA['result']['is_bot'],DATA['result']['can_read_all_group_messages'],DATA['result']['supports_inline_queries'],DATA['result']['can_join_groups'] end function getlinks () for i = 0,9 do if link[i] then return link[i],i end end end --local id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups = getMe () --print(id,username,is_bot,can_read_all_group_messages,supports_inline_queries,can_join_groups) --links,number = getlinks() --print(links,number) -- sendChatAction("") --sendMsg("hi") --sendChatAction("upload_photo") --sendSticker("https://www.gstatic.com/webp/gallery/1.webp") -- sendDocument("https://www.mathscinotes.com/wp-content/uploads/2016/02/Adler-Mortimer-How-To-Read-A-Book.pdf","this pdf") --sendAudio("https://g.top4top.io/m_488rkvrd2.mp3") -- sendvideo("https://p.top4top.io/m_872tuac51.mp4") -- sendphoto("https://j.top4top.io/i_1eb6c9296e1.png")
تمت اضافة فكشنات
getMe
getlinks
وعدلت تعديل بسيط للكود
-
اضافة بسيطه
الاومر خاصه بال cmd
local cmd = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ____ __ __ ____ __ __ ___ ___ ___ ___ _ __ __ | \ | | | / || | || | | / _]| \ | | | | | | o )| | | | o || | || _ _ | / [_ | \ | | | | | | || ~ | | || _ || \_/ || _]| D | | |___ | ~ | | O ||___, | | _ || | || | || [_ | | | ||___, | | || | | | || | || | || || | | || | |_____||____/ |__|__||__|__||___|___||_____||_____| |_____||____/ ]] print(cmd) function sends (playerSource,commandName,amount) if playerSource then if commandName == "sendMsg" then local texts = tostring(amount) if texts then sendMsg(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendMsg [amount]") end else if commandName == "bothelp" then local texts = tostring(amount) if texts == "-u" then local msgs = [[ ____ ___ ______ ______ ___ _ ___ ____ ____ ____ ___ ___ | \ / \ | | | | / _]| | / _] / || \ / || | | | o )| || | | | / [_ | | / [_ | __|| D )| o || _ _ | | || O ||_| |_| |_| |_|| _]| |___ | _]| | || / | || \_/ | | O || | | | | | | [_ | || [_ | |_ || \ | _ || | | | || | | | | | | || || || || . \| | || | | |_____| \___/ |__| |__| |_____||_____||_____||___,_||__|\_||__|__||___|___| ------------------------------------------ sendMsg [Msg] - to send the message sendphoto [photo] - to send the photo sendAudio [Audio] - to send the Audio sendvideo [video] - to send the video sendDocument[Document] - to send the Document sendSticker[Sticker] - to send the Sticker sendChatAction [Action] - to change the Chat Action ------------------------------------------ ]] print(msgs) else print("[usage] bothelp -u ") end else if commandName == "sendphoto" then local texts = tostring(amount) if texts then sendphoto(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendphoto [photo]") end else if commandName == "sendvideo" then local texts = tostring(amount) if texts then sendvideo(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendvideo [video]") end else if commandName == "sendAudio" then local texts = tostring(amount) if texts then sendAudio(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendAudio [Audio]") end else if commandName == "sendDocument" then local texts = tostring(amount) if texts then sendDocument(texts,"this is pdf") print("[Bot] Sending .. "..texts.."") else print("[usage] sendDocument [Document]") end else if commandName == "sendSticker" then local texts = tostring(amount) if texts then sendSticker(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendSticker [Sticker ]") end else if commandName == "sendChatAction" then local texts = tostring(amount) if texts then sendChatAction(texts) print("[Bot] Sending .. "..texts.."") else print("[usage] sendChatAction [Action]") end end end end end end end end end end end addCommandHandler("sendMsg", sends) addCommandHandler("bothelp", sends) addCommandHandler("sendphoto", sends) addCommandHandler("sendvideo", sends) addCommandHandler("sendAudio",sends) addCommandHandler("sendSticker",sends) addCommandHandler("sendDocument",sends) addCommandHandler("sendChatAction",sends) function read () open = fileOpen("config.txt") reading = fileRead(open,46) fileFlush(open) fileClose(open) return reading end link = {} function readid () opentwo = fileOpen("config.txt") fileSetPos(opentwo,48) readingtow = fileRead(opentwo,10) fileFlush(opentwo) fileClose(opentwo) return readingtow end token = read() chat_id = readid() print(token) print(chat_id) function result(sum) print(sum) end function sendMsg(Text) link[1] = "https://api.telegram.org/bot"..token.."/sendMessage".."?chat_id="..chat_id.."&text="..Text.."" print(link[1]) callRemote (link[1], result,Text) end function sendphoto(photo) link[2] = "https://api.telegram.org/bot"..token.."/sendPhoto".."?chat_id="..chat_id.."&photo="..photo.."" callRemote (link[2],result,photo) end function sendvideo(video) link[3] = "https://api.telegram.org/bot"..token.."/sendVideo".."?chat_id="..chat_id.."&video="..video.."" callRemote (link[3],result,video) end function sendAudio(Audio) link[4] = "https://api.telegram.org/bot"..token.."/sendAudio".."?chat_id="..chat_id.."&audio="..Audio.."" callRemote (link[4],result,Audio) end function sendDocument(Document,Texts) link[5] = "https://api.telegram.org/bot"..token.."/sendDocument".."?chat_id="..chat_id.."&document="..Document.."&caption="..Texts.."" callRemote (link[5],result,Document) end function sendSticker(Sticker) link[6] = "https://api.telegram.org/bot"..token.."/sendSticker".."?chat_id="..chat_id.."&sticker="..Sticker.."" callRemote (link[6],result,Sticker) end function sendChatAction(action) link[7] = "https://api.telegram.org/bot"..token.."/sendChatAction".."?chat_id="..chat_id.."&action="..action.."" print(link[7]) callRemote (link[7],result,action) end -- sendChatAction("") --sendMsg("hi") --sendChatAction("upload_photo") --sendSticker("https://www.gstatic.com/webp/gallery/1.webp") -- sendDocument("https://www.mathscinotes.com/wp-content/uploads/2016/02/Adler-Mortimer-How-To-Read-A-Book.pdf","this pdf") --sendAudio("https://g.top4top.io/m_488rkvrd2.mp3") -- sendvideo("https://p.top4top.io/m_872tuac51.mp4") -- sendphoto("https://j.top4top.io/i_1eb6c9296e1.png")
-
سيرفر :
function read () open = fileOpen("config.txt") reading = fileRead(open,46) fileFlush(open) fileClose(open) return reading end link = {} function readid () opentwo = fileOpen("config.txt") fileSetPos(opentwo,48) readingtow = fileRead(opentwo,11) fileFlush(opentwo) fileClose(opentwo) return readingtow end token = read() chat_id = readid() print(token) print(chat_id) function result(sum) print(sum) end function sendMsg(Text) link[1] = "https://api.telegram.org/bot"..token.."/sendMessage".."?chat_id="..chat_id.."&text="..Text.."" print(link[1]) callRemote (link[1], result,Text) end function sendphoto(photo) link[2] = "https://api.telegram.org/bot"..token.."/sendPhoto".."?chat_id="..chat_id.."&photo="..photo.."" callRemote (link[2],result,photo) end function sendvideo(video) link[3] = "https://api.telegram.org/bot"..token.."/sendVideo".."?chat_id="..chat_id.."&video="..video.."" callRemote (link[3],result,video) end function sendAudio(Audio) link[4] = "https://api.telegram.org/bot"..token.."/sendAudio".."?chat_id="..chat_id.."&audio="..Audio.."" callRemote (link[4],result,Audio) end function sendDocument(Document,Texts) link[5] = "https://api.telegram.org/bot"..token.."/sendDocument".."?chat_id="..chat_id.."&document="..Document.."&caption="..Texts.."" callRemote (link[5],result,Document) end function sendSticker(Sticker) link[6] = "https://api.telegram.org/bot"..token.."/sendSticker".."?chat_id="..chat_id.."&sticker="..Sticker.."" callRemote (link[6],result,Sticker) end function sendChatAction(action) if token and chat_id and action then link[7] = "https://api.telegram.org/bot"..token.."/sendChatAction".."?chat_id="..chat_id.."&action="..action.."" callRemote (link[7],result,action) end end -- sendChatAction("") --sendMsg("hi") --sendChatAction("upload_photo") --sendSticker("https://www.gstatic.com/webp/gallery/1.webp") -- sendDocument("https://www.mathscinotes.com/wp-content/uploads/2016/02/Adler-Mortimer-How-To-Read-A-Book.pdf","this pdf") --sendAudio("https://g.top4top.io/m_488rkvrd2.mp3") -- sendvideo("https://p.top4top.io/m_872tuac51.mp4") -- sendphoto("https://j.top4top.io/i_1eb6c9296e1.png")
اهم شي تحط تويكن و id chat
وبعدين تقدر تحكم بالبوت خاص بيك و تربطه مع مود خاص بيك و بسهل طريقه ومش معقده
وللي حاب يضيف ويكمل باقي فكشنات
بيلقي باقي فكشنات هنا
https://telegram-bot-sdk.readme.io/reference
ملف
config.txt
put token here put id chat here
- 1
-
On 02/11/2020 at 17:52, Doffy said:
-
On 15/11/2020 at 21:58, Abu-Solo said:
تسلم يدك يابطل
تقبل مروريالله يسلمك تسلم
-
سلاممم عليكمم
اليوم صممت مود منيو
يشبه الموجود بال مودات GTA V
لغات مستخدمه
CSS
javascript
Lua
تقدر من منيو انك تسحب جميع الاسلحه متاعك وتزيد دمك و تاخد درع وتشوف ip والخ
وو طبعا مود مش مشفر تقدر تعدل عليه
https://i.top4top.io/p_1769cvse32.png
رابط تحميل :
https://top4top.io/downloadf-1769w4rkk1-zip.html
- 2
-
عندي واحد اذا بشتري كلمني ديسكورد
Ahmed#5039
-
مفيش اقترحات جديده لي فتره علي لعبه
قاعد بلعب فايف ام وخلاص ولا سي اس قو
-
مود ممتاز
لكن القسم غلظ
- 1
-
لمود لليبيع
10$
للي بيشتري يكلمني ديسكورد
مفروض سعره 20$
لكن مود ناقص انك ضيف مقسات لشاشه في لوحه
+ ضيف سيارات للي عندك
------
حسابي علي ديسكورد
Ahmed Ly#5039
-
12 hours ago, #!_A7M8D said:
الصراحة إبداع و المود جميل جدا
إستمر يا بطل
تسلم
10 hours ago, MrKAREEM said:شغل منصق ورائع
استمر وبالتوفيق
تسلم
-
3 hours ago, MrKAREEM said:
سيرفر جميل ورائع بالتوفيق
مشكور
وبتوفيق لك ايضا
-
1 hour ago, SasYas716 said:
ممكن اسمك ديسكورد؟
Ahmed Ly#5039
-
Just now, SasYas716 said:
حبيبي بالله ممكن روابط التحميل؟
والله محذوفه ياحبيبي
+ شخص اعرفه للي طرح موضوع و معتزل له فتره و مسوي ستفوير للي جهازه فا كل ابرامج و مسجمات مسويه نحذفت اللاسف مابقي الا رابط رسلته لك
-
-
-
لما ادخل بي سي راح ارسل روابط تقريبا عندي
https://top4top.io/downloadf-7718gbic1-zip.html رابط واحد بس يشتغل باقي محذوفه
لاكن هوا كان يرجع ام تي اي راح يبداع من جديد،لاكن اعتزال
- 1
-
-
On 19/04/2020 at 12:07, #\_oskar_/# said:
شغل متعوب عليه ف السيرفر اهنيكم صراحه
وبالتوفيق لكم ومن نجاح الي نجاح ان شاء الله
عندي اقتراح بسيط وهو بدل مالاعب ينسخ رابط شرح المهمه ويروح يوتيوب ويشغله عشان يشوف الشرح
اقترح تسوو فيديو يوتيوب مكان رابط الشرح
وكل عام وانتم بخير
عندي اقترح احسه افضل
يسوي زر او امر لما ينفده او يضغظ عليه
يظهر له فيديو داخل لوحه و هوا بلعبه ❤
+ماكارات انتقال تغير و شكلها و تلوها تحت تشبه زرقه ب dx و تخلو ماركه مخفي
+عشان ينتقل يضغظ حرف E
وموفقين يارب من الاحسن ل احسن
-
اي حد عند اقتراح ؟
____________________
+ نحن راح نضيف حرطات ل شخصيات داخل لوحه
-
On 09/05/2020 at 23:30, Ahmed Ly said:
تمت م لوحه فيها جميع معلومات السيرفر يطريقه جديده ...
لفتح لوحه اف10
كلام يطلع من تحت لفوق
صوره
تم تعديل اف10 و اضافة بعض اشياء
وهاذا فيديو
-
-
5 minutes ago, Abo-Al3ZaB said:
اخي انا مسوي هالشي بعرفه ... ما فهمت كلامي يمكن
انا بدي اربط الازرار والليبل والاديت كلهم بلوحة الدي اكس يكونو معرفين باسم اللوحة مثل الويندو العادي
يعني هي بوتون مثلاً
guiCreatButtoun (38,76,..,.. false, هنا مثلاً احط اسم لوحة الدي اكس)
يكون مربوط فيها كاني مسوي ويندو عادي مع ازرار ... ما في شي زي هيك من غير ما اسوي لوجة جديدة بل dgs مثل ما قال اوسكار
انت تبي تسوي زر داخل دي اكس؟
مساعدة برمجية :) مايحفظ عند الرستارت
in البرمجة
Posted · Edited by Ahmed Ly