Python Bot Cods
11 subscribers
3 files
8 links
Download Telegram
Channel created
👋 Assalomu Alaykum.

🤙 Kanalimizga Xush Kelibsiz.

Bu Kanalga Biz Pythonda 🐍 Tuzgan Telegram Bot ⛄️ Kodlarimni Tashlab Boraman 💫

⚡️ Kanalimizdan Uzoqlashmang - Eng Birinchi Bizda Keyin Boshqalarda 💥

🐍 https://t.me/Python_Bot_Cods
👍8👎1🤯1
💫 Wikipedia Botimizning Kodi 🔽

🌪 By :) 63XRHZ

🐍 https://t.me/Python_Bot_Cods
👍8👎1
Python Bot Cods
💫 Wikipedia Botimizning Kodi 🔽 🌪 By :) 63XRHZ 🐍 https://t.me/Python_Bot_Cods
#Wikipedia Bot Kodi

import logging
import wikipedia

from aiogram import Bot, Dispatcher, executor, types

API_TOKEN = 'Bot API Token'
wikipedia.set_lang('uz')

# Configure logging
logging.basicConfig(level=logging.INFO)

# Initialize bot and dispatcher
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)

@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
"""
This handler will be called when user sends /start or /help command
"""
await message.reply("👋 Assalomu Alaykum. \n🤖 Botimizga Xush Kelibsiz. \n\n📝 Maqola Nomini Kiriting Biz Sizga 👤 Wikipediadagi Maqolalarni 📰 Chiqarib Beramiz \n\n Bu Bot @Python_Bot_Cods Kanali Tomonidan Yaratildi ⚡️")

@dp.message_handler()

async def sendwikibot(message: types.Message):

try:

respond = wikipedia.summary(message.text)

await message.answer("📝 " + message.text + " Haqida Maqola 👇")

await message.answer(respond)

await message.answer('📰 ' + message.text + ' Haqidagi Maqolamiz Shulardan Iborat Edi 👆')

except:

await message.answer("🔴 Kechirasiz Wikipediada Bunday Maqola Mavjud Emas 📣 \n\n🟢 Boshqa Maqola Qidirib 🔍 Ko'ring \n @Python_Bot_Cods Kanaliga A'zo Bo'ling.")

if name == 'main':
executor.start_polling(dp, skip_updates=True)

#@Python_Bot_Cods
🤩8👍1👎1
Yaqinda Tuzgan Botlarim.

@Lucky_Konkurs_Bot

@Get_USA_Number_Bot

@Pubg_Mobile_UC_PRobot

👁‍🗨 Ko'rib Chiqing Balki Foydasi Tegib Qolar.

🌪 By :) 63XRHZ

🐍 https://t.me/Python_Bot_Cods
👍9👎1🔥1
Linux Calculator.py
4.4 KB
⚡️ Linux Calculator 💥

👁‍🗨 Ko'rib Chiqing Balki Foydasi Tegib Qolar.

🐍 https://t.me/Python_Bot_Cods
👍7👎1
Calc Tkinter.py
2.1 KB
⚡️ Tkinter Calculator 💥

📥 Library Install 📥

#Tkinter

👁‍🗨 Ko'rib Chiqing Balki Foydasi Tegib Qolar.

🐍 https://t.me/Python_Bot_Cods
👍9
YouTube Downloader.py
528 B
💫 YouTube Downloader

📥 Library Install 📥

#pytube

👁‍🗨 Ko'rib Chiqing Balki Foydasi Tegib Qolar.

🐍 https://t.me/Python_Bot_Cods
🔥9👍3
The owner of this channel has been inactive for the last 5 months. If they remain inactive for the next 30 days, they may lose their account and admin rights in this channel. The channel will remain accessible for all users.
The owner of this channel has been inactive for the last 5 months. If they remain inactive for the next 20 days, they may lose their account and admin rights in this channel. The channel will remain accessible for all users.
The owner of this channel has been inactive for the last 5 months. If they remain inactive for the next 10 days, they may lose their account and admin rights in this channel. The channel will remain accessible for all users.