if ($message == "/vaqt") {
sendMessage($chat_id, "bugun...: " . date('Y-m-d') . ". Rejalar koΚ»rish u.n habar jonating");
}Shunchaki
π2π1
<?php
define('TOKEN', 'SIZNING_TELEGRAM_TOKENINGIZ');
define('API_URL', 'https://api.telegram.org/bot' . TOKEN . '/');
function sendMessage($chat_id, $text) {
$url = API_URL . "sendMessage?chat_id=" . $chat_id . "&text=" . urlencode($text);
file_get_contents($url);
}
// Qiziqarli faktlar ro'yxati
$facts = [
"Arilar hech qachon uxlamaydi.",
"Quyosh tizimidagi eng baland tog' - Marsdagi Olimpus tog'i.",
"Yaponiyada ilon baliq ta'mli muzqaymoq sotib olish mumkin.",
"Eng qadimgi musiqa asbobi 40 000 yoshli nay.",
"Koalalar kuniga 18-22 soat uxlaydi.",
];
$update = file_get_contents("php://input");
$update = json_decode($update, TRUE);
$chat_id = $update["message"]["chat"]["id"];
$text = $update["message"]["text"];
if ($text == "/fact") {
$fact = $facts[array_rand($facts)];
sendMessage($chat_id, $fact);
} else {
sendMessage($chat_id, "Salom! Qiziqarli fakt olish uchun /fact buyrug'ini yozing.");
}
?>
Chat GPT
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π1π1
@Ton_uzbot.zip
7.1 KB
π° Β«@Ton_uzbotΒ» kodi.π±
π€Ushbu kod orqali valyuta narxlari va TON kripto valyutani hozirgi vaqtdagi narxini ko'rishingiz mumkin bo'ladi. Bu Bot kodi 3 ta tilda ishlaydi. Admin panel mavjud.β
π¨βπ»Manba: @matirzayev
πTarqatildi: @TexnoPHPuz
π€Ushbu kod orqali valyuta narxlari va TON kripto valyutani hozirgi vaqtdagi narxini ko'rishingiz mumkin bo'ladi. Bu Bot kodi 3 ta tilda ishlaydi. Admin panel mavjud.β
π¨βπ»Manba: @matirzayev
πTarqatildi: @TexnoPHPuz
π3π1
index.php
69.7 KB
@LifegramBot asl kodiπ
Kodni kanallaringiz va do'stlaringizga tarqatib kanalimizni qo'llab quvvatlang.
Kodni kanallaringiz va do'stlaringizga tarqatib kanalimizni qo'llab quvvatlang.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π4
keyboard.php
161 B
Please open Telegram to view this post
VIEW IN TELEGRAM
π4
AUI(PHPsLab).php
13.8 KB
Please open Telegram to view this post
VIEW IN TELEGRAM
π10π€5π3
UserInfoUzbBot.php
3.2 KB
@UserInfoUzbBot bot kodi.
β¨Manba: @BestProger
π¨βπ» Dasturchi: @BestProger
Manbani chopgan akkaunti chopilsin
β¨Manba: @BestProger
Manbani chopgan akkaunti chopilsin
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π2
Forwarded from Humo Hacker | β
https://api.bestproger.uz/spotify/api.php?music=phonk
https://api.bestproger.uz/shazam/?music=phonk
https://api.bestproger.uz/insta/?url=
https://api.bestproger.uz/sms/?number=+998
https://api.bestproger.uz/yt/?url=
https://api.bestproger.uz/pin/index.php?url=
Please open Telegram to view this post
VIEW IN TELEGRAM
π2
π±π±π±π±π±π±π±
π YUNKA OPANI ZAPALI
π₯Ά Aytilishicha Timur Alixonov ga joΚ»natgan yalangΚ»och rasmi π
π± @UzFilm_AUI_Bot ga 2856 raqamini yuboring
π Bot ishlavotti
π YUNKA OPANI ZAPALI
π₯Ά Aytilishicha Timur Alixonov ga joΚ»natgan yalangΚ»och rasmi π
π± @UzFilm_AUI_Bot ga 2856 raqamini yuboring
π Bot ishlavotti
π₯1
$token = "bot_token";
if ($text == "/adminlist"){
$url = "https://api.telegram.org/bot$token/getChatAdministrators?chat_id=$cid";
$response = json_decode(file_get_contents($url), true);
if (isset($response['result'])) {
$result = $response['result'];
$msg1 = "";
foreach ($result as $admin) {
$status = $admin['status'];
$user = $admin['user'];
if ($status == "creator") {
$owner = $user['id'];
$owner2 = $user['first_name'];
}
if ($status == "administrator") {
$innames = str_replace(['[', ']'], '', $user['first_name']);
$idilar = $user['id'];
$msg1 .= "\nπ¨π»π» [$innames](tg://user?id=$idilar)";
}
}
bot('sendMessage', [
'chat_id' => $cid,
'text' => "π¨π» *Guruh yaratuvchisi:* [$owner2](tg://user?id=$owner)
-------------------------------------
π₯ *Guruh adminlari:* $msg1",
'reply_to_message_id' => $mid,
'parse_mode' => "Markdown"
]);
} else {
bot('sendMessage', [
'chat_id' => $cid,
'text' => "Adminlar ro'yxatini olishda xatolik yuz berdi.",
'reply_to_message_id' => $mid
]);
}
}
β¨Manba: @BestProger
π¨βπ»Dasturchi: @BestProger
βοΈTarqatildi: @PHPsLab
π1
UzSiteBot.zip
52.6 KB
π Bu o'sha @UzSiteBot kodi. Vazifasi ko'p. Panel bor udar tuzilgan. Admin id, api token qo'yasiz. Ochilgan saytlar ishlashi uchun koddagi u8695.xvest2.ru ni o'rniga o'zingizni hosting akkauntizi sozlab olasiz. Oldingi tarqalgan kodidan farqli kod. Manba hurmat qilinadi degan umiddaman.
π Manba: @MeProCompany & @DevBola
π ZIP Parol: @DevBola
Tarqatildi: @PHPsLab
π Manba: @MeProCompany & @DevBola
π ZIP Parol: @DevBola
Tarqatildi: @PHPsLab
π4