DRIFT FREE SOURCE CODE
2.15K subscribers
96 photos
4 videos
61 files
92 links
Download Telegram
REACT FOR MORE ❤️
🥰7🤩3💯1
import asyncio
import psutil
from telegram import Update
from telegram.ext import Application, CommandHandler, ContextTypes

# Escape MarkdownV2 special characters
def escape_md(text):
reserved = r'_*[]()~`>#+-=|{}.!'
return ''.join(f'\\{c}' if c in reserved else c for c in str(text))

async def status(update: Update, context: ContextTypes.DEFAULT_TYPE):
user = update.effective_user
chat_id = update.effective_chat.id

# Helper to build the status text (exactly your original template)
def build_text():
disk = psutil.disk_usage('/')
used = disk.used / (1024**3)
total = disk.total / (1024**3)
cpu = psutil.cpu_percent(interval=0.5)
cores = psutil.cpu_count(logical=True)

return (
f"🖥️ Nᴏɴ-Rᴏᴏᴛ VPS Sᴇʀᴠᴇʀ\n\n"
f"📛 Nᴀᴍᴇ - `{escape_md(user.full_name)}`\n"
f"👤 Uꜱᴇʀɴᴀᴍᴇ - `{escape_md(user.username or 'N/A')}`\n"
f"🆔 Uꜱᴇʀ Iᴅ - `{user.id}`\n\n"
f"🌐 Sᴇʀᴠᴇʀ - `Nᴏɴ-Rᴏᴏᴛ VPS`\n"
f"💾 Sᴛᴏʀᴀɢᴇ - `{used:.1f} / {total:.0f} Gɪʙ`\n"
f"⚙️ CPU - `{cpu:.0f}% / {cores} Cᴏʀᴇ`\n"
f"🔄 Rᴇᴘʟɪᴛ Bᴀᴄᴋᴜᴘ - `Aᴠᴀɪʟᴀʙʟᴇ`"
)

# Send the first message (no "fetching" text)
first_msg = await update.message.reply_text(
build_text(),
parse_mode='MarkdownV2'
)
msg_id = first_msg.message_id

# Update the same message 10 times (every 5 seconds)
for _ in range(10):
await asyncio.sleep(5) # wait 5 seconds
new_text = build_text() # fresh data
await context.bot.edit_message_text(
chat_id=chat_id,
message_id=msg_id,
text=new_text,
parse_mode='MarkdownV2'
)

# No final note – the last updated message stays as is.

def main():
app = Application.builder().token("YOUR_BOT_TOKEN").build()
app.add_handler(CommandHandler("status", status))
print("Bot is running. Try /status")
app.run_polling()

if __name__ == "__main__":
main()
🔥5
Forwarded from Dʀɪꜰᴛ Hᴏsᴛɪɴɢ 🌐
🛡️ Aᴅᴍɪɴ Aᴄᴛɪᴏɴ Cᴏᴍᴘʟᴇᴛᴇᴅ
📂 Tᴏᴛᴀʟ Fɪʟᴇꜱ Fᴏᴜɴᴅ ➜ 70
✅ Aᴘᴘʀᴏᴠᴇᴅ ➜ 51
❌ Rᴇᴊᴇᴄᴛᴇᴅ ➜ 19
🔒 Sᴇᴄᴜʀɪᴛʏ Sᴛᴀᴛᴜꜱ ➜ Sᴀꜰᴇ
🔥3💋3❤1🐳1
Iɴꜱᴛᴀɢʀᴀᴍ Lɪᴋᴇ Sᴄʀɪᴘᴛ Dᴜ Kʏᴀ? 👀

Gɪᴠᴇ Mᴀx Rᴇᴀᴄᴛɪᴏɴ ❤️🔥

Oɴʟɪɴᴇ Aᴀᴋᴇ Sᴄʀɪᴘᴛ Dʀᴏᴘ Kᴀʀᴜɴɢᴀ...

Tᴀʙ Tᴀᴋ Rᴇᴀᴄᴛɪᴏɴ Dᴇᴛᴇ Rᴀʜᴏ. 🚀
❤14👍7😁3👏1🏆1💋1
Gᴜʏꜱꜱ, Mᴇ Aʙʜɪ Bʜɪ Bᴀʜᴀʀ Hᴜ. 🛫

Mᴇ 26 Jᴜʟʏ Sᴇ Aᴄᴛɪᴠᴇ Rᴀʜᴜɴɢᴀ.

Tᴀʙ Tᴀᴋ Mᴇ Iɴᴀᴄᴛɪᴠᴇ Hɪ Rᴀʜᴜɴɢᴀ. ❤️
🥰5😱2🌭2
DRIFT FREE SOURCE CODE
insta-like-script.zip
BAHUT SARE BANDE DECODE KAR RAHE THE TO ESSE KAR KE DIKHAO
@DG_DRIFT
❤6😁3👍2🕊1🖕1
Fꜰ Fᴀᴋᴇ Lɪᴋᴇ Bᴏᴛ Sʀᴄ Dʀᴏᴘ Kᴀʀᴜ? 👀😂

Bɪʟᴋᴜʟ Rᴇᴀʟ Jᴀɪꜱᴀ Lᴀɢᴇɢᴀ. 🤣

Kɪꜱɪ Kᴏ Pᴀᴛᴀ Bʜɪ Nʜɪ Cʜᴀʟᴇɢᴀ Kɪ Fᴀᴋᴇ Lɪᴋᴇ Dɪᴋʜᴀ Rᴀʜᴀ Hᴀɪ. 😭🔥

Gɪᴠᴇ Mᴀx Rᴇᴀᴄᴛɪᴏɴ ❤️🚀
👍12⚡4👎1🖕1
Forwarded from DrIfT ARMY
📢 Gᴜʏꜱꜱ, Jᴏ Sᴀʙ Mᴜᴊʜᴇ Mᴇꜱꜱᴀɢᴇ Kᴀʀ Rᴀʜᴇ Hᴏ Aᴜʀ Fᴀɪʟᴇᴅ Hᴏ Rᴀʜᴀ Hᴀɪ, Wᴏ Sᴀʙ Yᴀʜᴀ Pᴇʀ Mᴇꜱꜱᴀɢᴇ Kᴀʀ Sᴀᴋᴛᴇ Hᴏ. 👇

💬 Mᴇꜱꜱᴀɢᴇ ➜ @DrIfT_ARMY_robot
❤‍🔥3💯3❤1😁1
REACT FOR MORE ❤️❤️
🥰5❤2🐳2👏1
APNE HISAB SE RAKH LENA
❤8🔥2😱2
🔥 Rᴇᴀᴄᴛ Fᴏʀ Mᴏʀᴇ ⚡
❤13🕊3🔥1
🤔 Kʏᴀ Bɴᴀɴᴇ Kᴀ Tʀʏ Kʀᴜ? 👀

⚡ Aᴘɪ
🤖 Bᴏᴛ
🌐 Wᴇʙꜱɪᴛᴇ
🛠 Oᴛʜᴇʀꜱ

Kᴜᴄʜ Bᴛᴀᴏ! 💭
😍3🥰1⚡1