Exemple #1
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama":
        "Çeşitli platformlardan ytdl kullanarak video indirir..",
        "kullanim": ["video |mp3| video linki", "yanıtlanan mesaj |mp3|"],
        "ornekler": [
            ".vid", ".vid mp3",
            ".vid http://www.youtube.com/watch?v=kCsq4GAZODc",
            ".vid mp3 http://www.youtube.com/watch?v=kCsq4GAZODc",
            ".vid https://www.dailymotion.com/video/x607vr2",
            ".vid mp3 https://www.dailymotion.com/video/x607vr2", "vebenzeri"
        ]
    }
})

from Robot.Edevat._ytdl.link_islemleri import link_ayikla
from Robot.Edevat._ytdl.ytdl_indirici import ytdl_indirici
from Robot.Edevat._pyrogram.progress import pyro_progress
from Robot.Edevat.gecici_alan_temizleyici import icinden_gec
from Robot import INDIRME_ALANI, SESSION_ADI
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj, kullanici
from pyrogram import Client, filters
from asyncio import sleep
import time
Exemple #2
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "KekikSpatula'dan nöbetçi eczane bilgilerini verir..",
        "parametreler": ["il ilçe"],
        "ornekler": [".nobetci çanakkale merkez"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from KekikSpatula import NobetciEczane


@Client.on_message(filters.command(['nobetci'], ['!', '.', '/']))
async def nobetci(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)

    ilk_mesaj = await message.reply("⌛️ `Hallediyorum..`",
                                    quote=True,
                                    disable_web_page_preview=True)
    girilen_yazi = message.command
    cevaplanan_mesaj = message.reply_to_message
    #------------------------------------------------------------- Başlangıç >
Exemple #3
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "botun hayatta olup olmadığı kontrolü..",
        "kullanim": [None],
        "ornekler": [".ping"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from Robot import YETKILI
import asyncio, datetime


@Client.on_message(filters.command(['ping'], ['!', '.', '/']))
async def ping(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)
    yanit_id = await yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply("__Bekleyin..__",
                                    reply_to_message_id=yanit_id,
                                    disable_web_page_preview=True)
    #------------------------------------------------------------- Başlangıç >
Exemple #4
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "Merhaba dünya..",
        "kullanim": [None],
        "ornekler": [".komut"]
    }
})

from pyrogram import Client, filters


@Client.on_message(filters.command(['komut'], ['!', '.', '/']))
async def komut(client, message):
    # < Başlangıç
    await log_yolla(client, message)
    ilk_mesaj = await message.reply("__Bekleyin..__",
                                    disable_web_page_preview=True,
                                    parse_mode="Markdown")
    #------------------------------------------------------------- Başlangıç >

    await ilk_mesaj.reply("Merhaba dünyalı")

    try:
        hata_denemesi()
    except Exception as hata:
Exemple #5
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "Yanıtlanan mesajı metin olmaması halinde indirir..",
        "kullanim": ["Yanıtlanan Mesaj"],
        "ornekler": [".indir"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from Robot.Edevat._pyrogram.progress import pyro_progress
from Robot import INDIRME_ALANI, YETKILI
from time import time
from asyncio import sleep


@Client.on_message(filters.command(['indir'], ['!', '.', '/']))
async def indir(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)

    if message.from_user.id not in YETKILI:
        return await message.reply("⚠️ __admin değilmişsin kekkooo__")

    ilk_mesaj = await message.reply("⌛️ `Hallediyorum..`",
Exemple #6
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "goygoy google linki verir..",
        "kullanim": [None],
        "ornekler": [".gg python nedir"]
    }
})

from pyrogram import Client, filters
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from time import time
import requests


@Client.on_message(filters.command(['gg'], ['!', '.', '/']))
async def gg_komut(client, message):  # fonksiyon oluşturuyoruz
    # < Başlangıç
    await log_yolla(client, message)
    yanitlanacak_mesaj = yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply("__Bekleyin..__",
                                    disable_web_page_preview=True,
                                    parse_mode="Markdown",
                                    reply_to_message_id=yanitlanacak_mesaj)
    girilen_yazi = message.command
    #------------------------------------------------------------- Başlangıç >
Exemple #7
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT

DESTEK_KOMUT.update({
    "kull"          : {
        "aciklama"  : "Çeşitli Kullanıcı İşlemlerini Gerçekleştirebilirsiniz..",
        "kullanim"  : [
            None
            ],
        "ornekler"  : [
            ".kull_say",
            ".kull_ver",
            ".kull_al «Yanıtlanan Kullanıcı jSon»",
            ".duyuru «Yanıtlanan Mesaj»",
            ]
    }
})


from pyrogram import Client, filters
from pyrogram.types import Message
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from Robot import SESSION_ADI, YETKILI
import os, json

kullanicilar = f"{SESSION_ADI}_KULLANICILAR.json"

if not os.path.exists(kullanicilar):
    with open(kullanicilar, 'w+') as olustur:
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT

DESTEK_KOMUT.update({
    "eklenti": {
        "aciklama":
        None,
        "kullanim": [None],
        "ornekler": [
            ".eklentilist", ".eklentiver ping",
            ".eklential «Yanıtlanan Eklenti»", ".eklentisil !komut"
        ]
    }
})

from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from Robot import SESSION_ADI, YETKILI
from Robot.Edevat.eklenti_listesi import eklentilerim
from pyrogram import Client, filters
import asyncio, os

mesaj_baslangici = '`Hallediyorum..`'


@Client.on_message(filters.command(['eklentilist'], ['!', '.', '/']))
async def eklenti_list(client, message):
    await log_yolla(client, message)
    yanitlanacak_mesaj = yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply(mesaj_baslangici,
Exemple #9
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "KekikSpatula'dan Google Arama bilgilerini verir..",
        "kullanim": ["biÅŸiler"],
        "ornekler": [".google biÅŸiler"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from KekikSpatula import Google


@Client.on_message(filters.command(['google'], ['!', '.', '/']))
async def google(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)

    ilk_mesaj = await message.reply("⌛� `Hallediyorum..`",
                                    quote=True,
                                    disable_web_page_preview=True)
    girilen_yazi = message.command
    #------------------------------------------------------------- Başlangıç >

    if len(girilen_yazi) == 1:
Exemple #10
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama":
        "Bir takım buton oluşturma denemeleri",
        "kullanim": [
            "buton_olustur(butonlar=dict, adet=3, link=True)",
            "buton_olustur(butonlar=dict, adet=2, link=True, geri='geri_don')",
            "buton_olustur(butonlar=dict, adet=2, data=True, ana_Sayfa='ana_Sayfa')",
        ],
        "ornekler": [".kimo"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import InlineKeyboardMarkup
import asyncio
from Robot.Edevat._pyrogram.inline_buton_olusturucu import buton_olustur
# buton_olustur(butonlar=dict, adet=3, link=True)


@Client.on_message(filters.command(['buton'], ['!', '.', '/']))
async def buton(client, message):

    butonlar = {
        "Beni Yazan": "t.me/keyiflerolsun",
        "Kekik": "t.me/KekikAkademi"
Exemple #11
0
from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "sabah.com.tr'den ezan vakti bilgilerini verir..",
        "kullanim": ["il"],
        "ornekler": [".ezan çanakkale"]
    }
})

from pyrogram import Client, filters
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from Robot.Edevat.Spatula.ezan_spatula import ezan_vakti


@Client.on_message(filters.command(['ezan'], ['/']))
async def ezan(client, message):
    # < Başlangıç
    await log_yolla(client, message)
    yanitlanacak_mesaj = yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply("Getiriliyor...",
                                    disable_web_page_preview=True,
                                    parse_mode="Markdown",
                                    reply_to_message_id=yanitlanacak_mesaj)
    girilen_yazi = message.command
    #------------------------------------------------------------- Başlangıç >

    if len(girilen_yazi) == 1:
        await ilk_mesaj.edit("Anlayamadım! `il` veya `ilçe` girmelisin...")
Exemple #12
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "KekikSpatula'dan DiscUdemy Kurslarını verir..",
        "kullanim": ["kategori"],
        "ornekler": [".disc python"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from KekikSpatula import DiscUdemy


@Client.on_message(filters.command(['disc'], ['!', '.', '/']))
async def disc(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)

    ilk_mesaj = await message.reply("⌛� `Hallediyorum..`",
                                    quote=True,
                                    disable_web_page_preview=True)
    girilen_yazi = message.command
    #------------------------------------------------------------- Başlangıç >

    if len(girilen_yazi) == 1:
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama": "KekikSpatula'dan YouTube Video bilgilerini verir..",
        "kullanim": ["link"],
        "ornekler": [".kekiktube link"]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from KekikSpatula import KekikTube


@Client.on_message(filters.command(['kekiktube'], ['!', '.', '/']))
async def kekiktube(client: Client, message: Message):
    # < Başlangıç
    await log_yolla(client, message)

    ilk_mesaj = await message.reply("⌛️ `Hallediyorum..`",
                                    quote=True,
                                    disable_web_page_preview=True)
    girilen_yazi = message.command
    #------------------------------------------------------------- Başlangıç >

    if len(girilen_yazi) == 1:
Exemple #14
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama":
        "Yanıtlanan programlama kodunun çıktısını verir..",
        "kullanim": ["dil | yanıtlanan kod", "dil | yanıtlanan döküman"],
        "ornekler": [
            ".derle c | yanıtlanan kod veya dosya",
            ".derle go | yanıtlanan kod veya dosya",
            ".derle python | yanıtlanan kod veya dosya"
        ]
    }
})

from pyrogram import Client, filters
from Robot.Edevat.Spatula.derleyici_spatula import calistir
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from os import remove


@Client.on_message(filters.command(['derle'], ['!', '.', '/']))
async def derle(client, message):
    # < Başlangıç
    await log_yolla(client, message)
    yanitlanacak_mesaj = yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply("__Bekleyin..__",
Exemple #15
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem : {
        "aciklama" : "KekikSpatula'dan ezan vakti bilgilerini verir..",
        "kullanim" : [
            "il"
            ],
        "ornekler" : [
            ".ezan çanakkale"
            ]
    }
})

from pyrogram import Client, filters
from pyrogram.types import Message
from KekikSpatula import Ezan

@Client.on_message(filters.command(['ezan'],['!','.','/']))
async def ezan(client:Client, message:Message):
    # < Başlangıç
    await log_yolla(client, message)

    ilk_mesaj = await message.reply("⌛️ `Hallediyorum..`",
        quote                    = True,
        disable_web_page_preview = True
    )
Exemple #16
0
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.

from Robot.Edevat.zenginLog import log_yolla, hata_log
from Robot import DESTEK_KOMUT, SESSION_ADI
from pathlib import Path

DESTEK_KOMUT.update({
    Path(__file__).stem: {
        "aciklama":
        "nekobin.com ile entegreli paste hizmeti..\nkodu paste yapar, paste linkini betiğe çevirir..",
        "kullanim": ["Yanıtlanan Mesaj", "Yanıtlanan Dosya", "Metin"],
        "ornekler": [
            ".nekover py «__yanıtlanan kod__»",
            ".nekover go «__yanıtlanan dosya__»",
            ".nekoal «__yanıtlanan nekobin linki__»"
        ]
    }
})

from pyrogram import Client, filters
from Robot.Edevat._pyrogram.pyro_yardimcilari import yanitlanan_mesaj
from Robot.Edevat.link_ayikla import link_ayikla
import aiohttp, os, requests


@Client.on_message(filters.command(['nekover'], ['!', '.', '/']))
async def nekover(client, message):
    # < Başlangıç
    await log_yolla(client, message)
    yanitlanacak_mesaj = yanitlanan_mesaj(message)
    ilk_mesaj = await message.reply("__Bekleyin..__",