Exemple #1
0
from telethon import events
from wolf import bot as wolfs
import asyncio

from wolf.utils import admin_cmd


# i strongly recomend not to use this in any other group u can use it where u are the admin
@wolfs.on(admin_cmd("grt"))
async def grt(event):
    if event.fwd_from:
        return
    animation_interval = 2
    animation_ttl = range(
        0,
        10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    )
    giveVar = event.text
    a = giveVar[5:6]
    if not a:
        a = "🌺"
    b = giveVar[7:8]
    if not b:
        b = "✨"
    await event.edit("Greetings")
    animation_chars = [
        f"{a}{b}{b}{a}{b}{a}{a}{a}\n{a}{b}{b}{a}{b}{b}{a}{b}\n{a}{a}{a}{a}{b}{b}{a}{b}\n{a}{b}{b}{a}{b}{b}{a}{b}\n{a}{b}{b}{a}{b}{a}{a}{a}\n☁☁☁☁☁☁☁☁",
        f"{b}{a}{b}{b}{a}{b}{a}{b}\n{b}{a}{b}{b}{a}{b}{b}{b}\n{b}{a}{a}{a}{a}{b}{a}{b}\n{b}{a}{b}{b}{a}{b}{a}{b}\n{b}{a}{b}{b}{a}{b}{a}{b}",
        f"{b}{a}{b}{b}{a}{b}{a}{b}{b}{b}{b}{a}{a}{a}{a}{b}\n{b}{a}{b}{b}{a}{b}{a}{b}{b}{b}{b}{a}{b}{b}{a}{b}\n{b}{a}{a}{a}{a}{b}{a}{b}{b}{b}{b}{a}{b}{b}{a}{b}\n{b}{a}{b}{b}{a}{b}{a}{b}{b}{b}{b}{a}{b}{b}{a}{b}\n{b}{a}{b}{b}{a}{b}{a}{a}{a}{a}{b}{a}{a}{a}{a}{b}",
        f"{a}{b}{b}{a}{a}{b}{a}{a}{a}{b}{a}{b}{b}{b}{a}\n{a}{b}{a}{b}{a}{a}{b}{a}{b}{a}{a}{b}{a}{a}{a}\n{a}{b}{b}{a}{a}{a}{a}{b}{a}{a}{a}{b}{b}{a}{a}\n{a}{b}{a}{b}{a}{a}{a}{b}{a}{a}{a}{b}{a}{a}{a}\n{a}{b}{b}{a}{a}{a}{a}{b}{a}{a}{a}{b}{b}{b}{a}"
    ]
Exemple #2
0
#created by me (@danish_00)
#😁😁😁😁
#Koi naya banda Dekhlega aisa toh phat jayegi 😂😂
#

from telethon import events
import asyncio
import os
import sys
import random
from wolf.utils import admin_cmd
from wolf import bot as wolfs


@wolfs.on(admin_cmd(pattern="hack ?(.*)"))
async def _(event):
    if event.fwd_from:
        return

    animation_interval = 0.7

    animation_ttl = range(0, 11)

    await event.edit("Installing..")

    animation_chars = [
        "`Installing Files To Hacked Private Server...`", "`Target Selected.`",
        "`Installing... 0%\n▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ `",
        "`Installing... 4%\n█▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ `",
        "`Installing... 8%\n██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ `",
        "`lnstallig... 20%\n█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ `",
Exemple #3
0
import datetime
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from telegraph import Telegraph
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError
from wolf import bot as borg
from wolf.utils import admin_cmd
from wolf import CMD_HELP
telegraph = Telegraph()
mee = telegraph.create_account(short_name="shivam")


@borg.on(admin_cmd(pattern="recognize ?(.*)"))
async def _(event):
    if event.fwd_from:
        return
    if not event.reply_to_msg_id:
        await event.edit("Reply to any user's media message.")
        return
    reply_message = await event.get_reply_message()
    if not reply_message.media:
        await event.edit("reply to media file")
        return
    chat = "@Rekognition_Bot"
    sender = reply_message.sender
    if reply_message.sender.bot:
        await event.edit("Reply to actual users message.")
        return
    async with event.client.conversation(chat) as conv:
        try:
            response = conv.wait_event(
Exemple #4
0
import datetime
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from wolf.utils import admin_cmd
from wolf import bot as wolfs
@wolfs.on(admin_cmd(pattern="ssti?(.*)"))
async def _(event):
    if event.fwd_from:
        return 
    if not event.reply_to_msg_id:
       await event.edit("```Reply to any user message.```")
       return
    reply_message = await event.get_reply_message() 
    if not reply_message.media:
       await event.edit("```Reply to sticker message```")
       return
    chat = "Stickerdownloadbot"
    sender = reply_message.sender
    if reply_message.sender.bot:
       await event.edit("```Reply to actual users message.```")
       return
    await event.edit("```Making a sticker to image```")
    async with event.client.conversation(chat) as conv:
          try:     
              response = conv.wait_event(events.NewMessage(incoming=True,from_users=220255550))
              respond = conv.wait_event(events.NewMessage(incoming=True,from_users=220255550))
              responds = conv.wait_event(events.NewMessage(incoming=True,from_users=220255550))

              await event.client.forward_messages(chat, reply_message)
              response = await response 
Exemple #5
0
from wolf import bot as wolfs
from telethon import events

import asyncio

from wolf.utils import admin_cmd


@wolfs.on(admin_cmd("party"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 1
    animation_ttl = range(
        0,
        10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    )
    await event.edit("It's Party Time")
    animation_chars = [
        "🍭🍦🍧🍩🍪🎂🍰🧁🍫🍬",
        "🍦🍧🍩🍪🎂🍰🧁🍫🍬🍭",
        "🍧🍩🍪🎂🍰🧁🍫🍬🍭🍦",
        "🍩🍪🎂🍰🧁🍫🍬🍭🍦🍧",
        "🍪🎂🍰🧁🍫🍬🍭🍦🍧🍩",
        "🎂🍰🧁🍫🍬🍭🍦🍧🍩🍪",
        "🍰🧁🍫🍬🍭🍦🍧🍩🍪🎂",
        "🧁🍫🍬🍭🍦🍧🍩🍪🎂🍰",
        "🍫🍬🍭🍦🍧🍩🍪🎂🍰🧁",
        "🍬🍭🍦🍧🍩🍪🎂🍰🧁🍫",
    ]
Exemple #6
0
#    GNU Affero General Public License for more details.
#   You should have received a copy of the GNU Affero General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

import os

import pybase64
from telegraph import exceptions, upload_file
from telethon.tl.functions.messages import ImportChatInviteRequest as Get
from wolf import bot
from wolf import CMD_HELP
from wolf.utils import admin_cmd
from wolf.helpers import *


@bot.on(admin_cmd(pattern="threats(?: |$)(.*)"))
async def catbot(catmemes):
    replied = await catmemes.get_reply_message()
    if not os.path.isdir("./temp/"):
        os.makedirs("./temp/")
    if not replied:
        await catmemes.edit("reply to a supported media file")
        return
    if replied.media:
        catmemmes = await catmemes.edit("passing to telegraph...")
    else:
        await catmemes.edit("reply to a supported media file")
        return
    try:
        cat = pybase64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
        cat = Get(cat)
Exemple #7
0
"""Check your internet speed powered by speedtest.net
Syntax: .speedtest
Available Options: image, file, text"""
from telethon import events
from datetime import datetime
import io
import speedtest
from wolf.utils import admin_cmd
from wolf import bot as wolfs
from wolf import bot as wolfs


@wolfs.on(admin_cmd("speedtest ?(.*)"))
async def _(event):
    if event.fwd_from:
        return
    input_str = event.pattern_match.group(1)
    as_text = False
    as_document = True
    if input_str == "image":
        as_document = False
    elif input_str == "file":
        as_document = True
    elif input_str == "text":
        as_text = True
    await event.edit("Calculating my internet speed. Please wait!")
    start = datetime.now()
    s = speedtest.Speedtest()
    s.get_best_server()
    s.download()
    s.upload()
Exemple #8
0
import os

from wolf import CMD_HELP
from wolf.utils import admin_cmd

from wolf import bot as borg


@borg.on(admin_cmd(pattern=r"reveal", outgoing=True))
async def _(event):
    b = await event.client.download_media(await event.get_reply_message())
    a = open(b, "r")
    c = a.read()
    a.close()
    a = await event.reply("Reading file...")
    if len(c) > 4095:
        await a.edit(
            "The Total words in this file is more than a bitch can write this file is useless👍."
        )
    else:
        await event.client.send_message(event.chat_id, f"{c}")
        await a.delete()
    os.remove(b)


CMD_HELP.update({
    "reveal":
    ".reveal <reply to a file>\nUse - Read contents of file and send as a telegram message."
})
Exemple #9
0
#made by shivam patel
from telethon import events

import asyncio

from wolf.utils import admin_cmd
from wolf import bot as wolfs


@wolfs.on(admin_cmd("hdd"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 1
    animation_ttl = range(0, 20)
    await event.edit("Happy Diwali Dosto🤗")
    animation_chars = [
        """-----💜happy💜diwali💜
----💜happy💜diwali💜
---💜happy💜diwali💜
--💜happy💜diwali💜
-💜happy💜diwali💜
💜happy💜diwali💜
💜happy💜diwali💜
💜happy💜diwali💜
💖happy💖diwali💖
💖happy💖diwali💖
💖happy💖diwali💖
-💖happy💖diwali💖
--💖happy💖diwali💖
---💖happy💖diwali💖
Exemple #10
0
# Credits @buddhhu
#This software is a part of https://github.com/buddhhu/Plus
# Ported to DC by @hellboi_atul

import pygments, os, asyncio
from pygments.lexers import Python3Lexer
from pygments.formatters import ImageFormatter
from wolf.utils import admin_cmd
from wolf import bot as borg


@borg.on(admin_cmd(pattern="ncode ?(.*)"))
async def coder_print(event):
    a = await event.client.download_media(await event.get_reply_message(),
                                          Var.TEMP_DOWNLOAD_DIRECTORY)
    s = open(a, 'r')
    c = s.read()
    s.close()
    pygments.highlight(
        f"{c}", Python3Lexer(),
        ImageFormatter(font_name="DejaVu Sans Mono", line_numbers=True),
        "out.png")
    res = await event.client.send_message(
        event.chat_id,
        "**Pasting this code on my page pls weit🤓...**",
        reply_to=event.reply_to_msg_id)
    await event.client.send_file(event.chat_id,
                                 "out.png",
                                 force_document=True,
                                 reply_to=event.reply_to_msg_id)
    await event.client.send_file(event.chat_id,
Exemple #11
0
    "\U0001F680-\U0001F6FF"  # transport & map symbols
    "\U0001F700-\U0001F77F"  # alchemical symbols
    "\U0001F780-\U0001F7FF"  # Geometric Shapes Extended
    "\U0001F800-\U0001F8FF"  # Supplemental Arrows-C
    "\U0001F900-\U0001F9FF"  # Supplemental Symbols and Pictographs
    "\U0001FA00-\U0001FA6F"  # Chess Symbols
    "\U0001FA70-\U0001FAFF"  # Symbols and Pictographs Extended-A
    "\U00002702-\U000027B0"  # Dingbats 
    "]+")


def deEmojify(inputString: str) -> str:
    """Remove emojis and other non-safe characters from string"""
    return re.sub(IF_EMOJI, '', inputString)


@wolfs.on(admin_cmd(pattern="playxo(?: |$)(.*)"))
async def nope(doit):
    ok = doit.pattern_match.group(1)
    if not ok:
        if doit.is_reply:
            what = (await doit.get_reply_message()).message

            return
    xoxoxo = await bot.inline_query("xobot", f"{(deEmojify(ok))}")
    await xoxoxo[0].click(doit.chat_id,
                          reply_to=doit.reply_to_msg_id,
                          silent=True if doit.is_reply else False,
                          hide_via=True)
    await doit.delete()
Exemple #12
0
from datetime import datetime

import requests
from bs4 import BeautifulSoup
from PIL import Image
from search_engine_parser import GoogleSearch

from wolf.utils import admin_cmd, errors_handler
from wolf import BOTLOG, BOTLOG_CHATID, CMD_HELP ,bot
from wolf import bot as borg
opener = urllib.request.build_opener()
useragent = "Mozilla/5.0 (Linux; Android 9; SM-G960F Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36"
opener.addheaders = [("User-agent", useragent)]


@borg.on(admin_cmd(outgoing=True, pattern=r"gs (.*)"))
async def gsearch(q_event):
    catevent = await q_event.edit("`searching........`")
    match = q_event.pattern_match.group(1)
    page = re.findall(r"page=\d+", match)
    try:
        page = page[0]
        page = page.replace("page=", "")
        match = match.replace("page=" + page[0], "")
    except IndexError:
        page = 1
    search_args = (str(match), int(page))
    gsearch = GoogleSearch()
    gresults = await gsearch.async_search(*search_args)
    msg = ""
    for i in range(len(gresults["links"])):
Exemple #13
0
"""
Available Commands:
.HI"""
from wolf import bot as wolfs
from telethon import events

import asyncio

from wolf.utils import admin_cmd


@wolfs.on(admin_cmd("hibye"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 3
    animation_ttl = range(0, 36)
    await event.edit("!hey")
    animation_chars = [
        "OK",
        "HELLO",
        "HI",
        "KOI HAI",
        "ETNA SANNATA Q HAI BHAI",
        "🥺🥺🥺",
        "ETNA CHUP Q HO",
        "🤨🤨🤨🤨🤨",
        "🖕🏻🖕🏻🖕🏻🖕🏻🖕🏻",
        "🤔🤔🤔🤔🤔",
        "👋👋👋",
        "chalo me bhi chala"
Exemple #14
0
from telethon import events
from wolf import bot as wolfs
import asyncio

from wolf.utils import admin_cmd

@wolfs.on(admin_cmd("evil"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 3
    animation_ttl = range(0,10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
    await event.edit("☠️EVIL IS WAKE UP...HA...HA...HA ...👽‼️👾")
    animation_chars = [
            "😈",
            "👿",
            "🎃",
            "💀",
            "👻",
            ]

    for i in animation_ttl:
        	
        await asyncio.sleep(animation_interval)
        await event.edit(animation_chars[i % 5])
Exemple #15
0
    return user_obj, extra


#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam#made by @danish_00 with sh1vam
async def get_user_from_id(user, event):
    if isinstance(user, str):
        user = int(user)
    try:
        user_obj = await event.client.get_entity(user)
    except (TypeError, ValueError) as err:
        await event.edit(str(err))
        return None
    return user_obj


@borg.on(admin_cmd(pattern="gpromote ?(.*)"))
async def gben(wolf):
    dc = dark = wolf
    i = 0
    sender = await dc.get_sender()
    me = await wolf.client.get_me()
    await dark.edit("`promoting...`")
    my_mention = "[{}](tg://user?id={})".format(me.first_name, me.id)
    f"@{me.username}" if me.username else my_mention
    await wolf.get_chat()
    if wolf.is_private:
        user = wolf.chat
        rank = wolf.pattern_match.group(1)
    else:
        wolf.chat.title
    try:
Exemple #16
0
import os
#MADE BY SHIVAM DONT KANG
import cv2
from wolf import CMD_HELP
#MADE BY SHIVAM DONT KANG
#MADE BY SHIVAM DONT KANG
from telegraph import upload_file
from telethon.tl.types import MessageMediaPhoto
from wolf.utils import admin_cmd
from wolf import bot
from wolf import bot as borg
import os, shutil


@borg.on(admin_cmd(pattern=r"gpic"))
async def hmm(event):

    await event.delete()
    linc = event.text
    links = linc[6:]
    text1, colors, text2 = links.split("|")
    a, b, c = colors.split(";")
    window_name = 'Made By Shivam'
    image = cv2.imread("google.jpg")
    font = cv2.FONT_HERSHEY_SIMPLEX
    org1 = (255, 65)
    org2 = (450, 280)
    color = (int(a), int(b), int(c))
    thickness = 2
    fontScale = 1
    image = cv2.putText(image, text1, org1, font, fontScale, color, thickness,
Exemple #17
0
    "\U0001F700-\U0001F77F"  # alchemical symbols
    "\U0001F780-\U0001F7FF"  # Geometric Shapes Extended
    "\U0001F800-\U0001F8FF"  # Supplemental Arrows-C
    "\U0001F900-\U0001F9FF"  # Supplemental Symbols and Pictographs
    "\U0001FA00-\U0001FA6F"  # Chess Symbols
    "\U0001FA70-\U0001FAFF"  # Symbols and Pictographs Extended-A
    "\U00002702-\U000027B0"  # Dingbats 
    "]+")


def deEmojify(inputString: str) -> str:
    """Remove emojis and other non-safe characters from string"""
    return re.sub(IF_EMOJI, '', inputString)


@wolfs.on(admin_cmd(pattern="utube(?: |$)(.*)"))
async def nope(doit):
    ok = doit.pattern_match.group(1)
    if not ok:
        if doit.is_reply:
            what = (await doit.get_reply_message()).message
        else:
            await doit.edit("`Please give some query to search..!`")
            return
    sticcers = await bot.inline_query("vid", f"{(deEmojify(ok))}")
    await sticcers[0].click(doit.chat_id,
                            reply_to=doit.reply_to_msg_id,
                            silent=True if doit.is_reply else False,
                            hide_via=True)
    await doit.delete()
Exemple #18
0
from telethon import events
from telethon.tl.types import DocumentAttributeVideo
from telethon.errors import MessageNotModifiedError
import time
from wolf.utils import progress, humanbytes, time_formatter, admin_cmd
import io
import math
import os
from pySmartDL import SmartDL
from wolf.wolfs_main.heroku_var import *
config=Config

thumb_image_path = Config.TEMP_DOWNLOAD_DIRECTORY + "/thumb_image.jpeg"


@wolfs.on(admin_cmd("pti (.*)"))
async def _(event):
    if event.fwd_from:
        return
    thumb = None
    if os.path.exists(thumb_image_path):
        thumb = thumb_image_path
    await event.edit("Rename & Upload in process 🙄🙇‍♂️🙇‍♂️🙇‍♀️ It might take some time if file size is big")
    input_str = event.pattern_match.group(1)
    if not os.path.isdir(Config.TEMP_DOWNLOAD_DIRECTORY):
        os.makedirs(Config.TEMP_DOWNLOAD_DIRECTORY)
    if event.reply_to_msg_id:
        start = datetime.now()
        file_name = input_str + ".ico"
        reply_message = await event.get_reply_message()
        to_download_directory = Config.TEMP_DOWNLOAD_DIRECTORY
Exemple #19
0
from datetime import datetime
from io import BytesIO
from pathlib import Path
from wolf import bot as borg
from telethon import functions, types
from telethon.errors import PhotoInvalidDimensionsError
from telethon.errors.rpcerrorlist import YouBlockedUserError
from telethon.tl.functions.messages import SendMediaRequest

from wolf.utils import admin_cmd, progress

if not os.path.isdir("./temp"):
    os.makedirs("./temp")


@borg.on(admin_cmd(pattern="doc ?(.*)"))
async def get(event):
    name = event.text[5:]
    if name is None:
        await event.edit("reply to text message as `.ttf <file name>`")
        return
    m = await event.get_reply_message()
    if m.text:
        with open(name, "w") as f:
            f.write(m.message)
        await event.delete()
        await event.client.send_file(event.chat_id, name, force_document=True)
        os.remove(name)
    else:
        await event.edit("reply to text message as `.ttf <file name>`")
Exemple #20
0
#plugin made by @helloji123bot
#keep credits if you are gonna kang it lol,you noob ,stupid,madafucking,avengers_leader,the copy paster
import asyncio
from wolf.utils import admin_cmd
from wolf import bot as borg


@borg.on(admin_cmd(pattern="animate (.*)"))
async def _(event):
    name = event.pattern_match.group(1)
    if event.fwd_from:
        return
    animation_interval = 0.5
    animation_ttl = range(192)
    animation_chars = [
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
        f"⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️..**{name}**..⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n",
        f"⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️..**{name}**..⚪️⚫️⚪️\n⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️\n⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️⚫️⚪️\n",
Exemple #21
0
"""

import asyncio

import pybase64
import requests
from telethon import events
from telethon.tl.functions.messages import ImportChatInviteRequest as Get

from .. import CMD_HELP
from wolf.utils import admin_cmd, edit_or_reply
from .sql_helper.echo_sql import addecho, get_all_echos, is_echo, remove_echo
from wolf import bot

@bot.on(admin_cmd(pattern="addecho$"))

async def echo(cat):
    if cat.fwd_from:
        return
    if cat.reply_to_msg_id is not None:
        reply_msg = await cat.get_reply_message()
        user_id = reply_msg.sender_id
        chat_id = cat.chat_id
        try:
            hmm = pybase64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            hmm = Get(hmm)
            await cat.client(hmm)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
Exemple #22
0
# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made# Credits Are Necessary Cause Bot Like Hellbot Can't Kang As they Have Kanged Our _inlinebot back and open buttons which for dc ME (@Shivam_Patel) made
import datetime
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
from telethon import events
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
from telethon.errors.rpcerrorlist import YouBlockedUserError
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
from telethon.tl.functions.account import UpdateNotifySettingsRequest
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
from wolf.utils import admin_cmd
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
from wolf import bot as wolfs


#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
@wolfs.on(admin_cmd(pattern="history ?(.*)"))
#team mates @danish_00,@Shivam_Patel,@xditya,@The_Siddharth_Nigam
async def _(event):
    if event.fwd_from:
        return
    if not event.reply_to_msg_id:
        await event.edit("```Reply to any user message.```")
        return
    reply_message = await event.get_reply_message()
    chat = "Sangmatainfo_bot"
    sender = reply_message.sender.id
    if reply_message.sender.bot:
        await event.edit("```Reply to actual users message.```")
        return
    await event.edit("```Checking...```")
    async with event.client.conversation(chat) as conv:
Exemple #23
0
img28 = ("https://telegra.ph/file/245512fedf2af3153f044.mp4")
img29 = ("https://telegra.ph/file/2d0abdbb19d2b20cb408c.mp4")
img30 = ("https://telegra.ph/file/fbce171bf949465ad718e.mp4")
img31 = ("https://telegra.ph/file/61299e8dbaa60aa54bbf2.mp4")
img32 = ("https://telegra.ph/file/ecbbf730117561217cb51.mp4")
img33 = ("https://telegra.ph/file/03dfc6e846fcdac8fff7a.mp4")
img34 = ("https://telegra.ph/file/9f20d26589b50532b5b58.mp4")
img35 = ("https://telegra.ph/file/1acc616ff8b0b499edd1d.mp4")
img36 = ("https://telegra.ph/file/7199340d207398afe8acc.mp4")
img37 = ("https://telegra.ph/file/406c6cf22b6b84fb29eeb.mp4")
img38 = ("https://telegra.ph/file/fe3cf0d2269cd6edab394.mp4")
img39 = ("https://telegra.ph/file/f7b4f5813f063c5f8b3ed.mp4")
img40 = ("https://telegra.ph/file/04cdec4e301a311b21584.mp4")


@borg.on(admin_cmd(outgoing=True, pattern="baby"))
async def _(event):

    if event.fwd_from:
        return
    await event.edit("SENDING...:-)")
    await asyncio.sleep(0.9)
    x = (random.randrange(0, 40))
    if x == 1:
        await borg.send_file(event.chat_id, img1)
        await event.delete()
    if x == 2:
        await borg.send_file(event.chat_id, img2)
        await event.delete()
    if x == 3:
        await borg.send_file(event.chat_id, img3)
Exemple #24
0
from telethon import events
import subprocess, os, asyncio, PIL, cv2, shutil
from wolf.utils import admin_cmd
from wolf import CMD_HELP
import pygments, os, asyncio
from pygments.lexers import Python3Lexer
from pygments.formatters import ImageFormatter
from wolf.utils import admin_cmd
from wolf import bot
from wolf import bot as borg
import numpy as np
from PIL import Image, ImageDraw


@bot.on(admin_cmd(pattern="icircle", outgoing=True))
# By @shivam_patel
# Enhanced @danish_00
#dont kang
async def shiv(event):

    path = "shivamencircles"
    licence = event.text
    liscence = licence[8:]
    await event.delete()
    reply = await event.get_reply_message()

    download = await borg.download_media(reply.media, path)
    miraculous = cv2.VideoCapture(download)
    ladybug, catnoar = miraculous.read()
    cv2.imwrite("shivamcircular.png", catnoar)
    #image = PIL.Image.open(download)
Exemple #25
0
import asyncio
from telethon import events
from telethon.tl.types import ChannelParticipantsAdmins
from platform import uname
from wolf import ALIVE_NAME
from wolf.utils import admin_cmd

from wolf import bot as wolfs
n = str(
    ALIVE_NAME) if ALIVE_NAME else "Set ALIVE_NAME in config vars in Heroku"


#@command(outgoing=True, pattern="^.ded$")
@wolfs.on(admin_cmd(pattern=r"ded"))
async def bluedevilded(ded):
    await ded.edit(n + " ==             |\n     |"
                   "\n     | \n"
                   "     | \n"
                   "     | \n"
                   "     | \n"
                   "     | \n"
                   "     | \n"
                   "     | \n"
                   " / ̄ ̄\| \n"
                   "< ´・    |\ \n"
                   " | 3  | 丶\ \n"
                   "< 、・  |  \ \n"
                   " \__/∪ _ ∪) \n"
                   "      U U\n")

Exemple #26
0
from wolf import bot
from wolf.utils import admin_cmd


@bot.on(admin_cmd(pattern=r"deployme"))
async def source(e):
    if not e.text[0].isalpha() and e.text[0] not in ("/", "#", "@", "!"):
        await e.edit(
            "[Click Here to deploy My Bot](https://heroku.com/deploy?template=https://github.com/MrSammyXD/wolfuserbot/blob/main)"
        )
Exemple #27
0
            current, total, (current / total) * 100
        )
    )


DOGBIN_URL = "https://del.dog/"
try:
	BOTLOG_CHATID = config.PRIVATE_GROUP_ID
except :
	BOTLOG_CHATID = None
else :
	BOTLOG_CHATID = BOTLOG_CHATID
BOTLOG = True


@wolfs.on(admin_cmd(pattern="paste ?(.*)"))
async def _(event):
    if event.fwd_from:
        return
    start = datetime.now()
    if not os.path.isdir(Config.TEMP_DOWNLOAD_DIRECTORY):
        os.makedirs(Config.TEMP_DOWNLOAD_DIRECTORY)
    input_str = event.pattern_match.group(1)
    message = "SYNTAX: `.paste <long text to include>`"
    if input_str:
        message = input_str
    elif event.reply_to_msg_id:
        previous_message = await event.get_reply_message()
        if previous_message.media:
            downloaded_file_name = await borg.download_media(
                previous_message,
Exemple #28
0
from wolf.utils import admin_cmd

from wolf import bot as wolfs


@wolfs.on(admin_cmd(pattern="gnt$"))
async def gn(event):
    await event.edit(
        "。♥。・゚♡゚・。♥。・。・。・。♥。・\n╱╱╱╱╱╱╱╭╮╱╱╱╭╮╱╭╮╭╮\n╭━┳━┳━┳╯┃╭━┳╋╋━┫╰┫╰╮\n┃╋┃╋┃╋┃╋┃┃┃┃┃┃╋┃┃┃╭┫\n┣╮┣━┻━┻━╯╰┻━┻╋╮┣┻┻━╯\n╰━╯╱╱╱╱╱╱╱╱╱╱╰━╯\n。♥。・゚♡゚・。♥° ♥。・゚♡゚・"
    )


@wolfs.on(admin_cmd(pattern="gmg$"))
async def gm(event):
    await event.edit(
        "。♥。・゚♡゚・。♥。・。・。・。♥。・。♥。・゚♡゚・\n╱╱╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╱╱╭╮\n╭━┳━┳━┳╯┃╭━━┳━┳┳┳━┳╋╋━┳┳━╮\n┃╋┃╋┃╋┃╋┃┃┃┃┃╋┃╭┫┃┃┃┃┃┃┃╋┃\n┣╮┣━┻━┻━╯╰┻┻┻━┻╯╰┻━┻┻┻━╋╮┃\n╰━╯╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━╯\n。♥。・゚♡゚・。♥。・。・。・。♥。・。♥。・゚♡゚・"
    )
from telethon import events

import asyncio
from wolf import bot as wolfs
from wolf.utils import admin_cmd


@wolfs.on(admin_cmd("chaos2"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 0
    animation_ttl = range(
        0,
        10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    )
    await event.edit("☠️Chaos2(Recent_Flooder) Begins...HA...HA...HA ...👽‼️👾")
    animation_chars = [
        "😀", "😃", "😄", "😁", "😆", "😅", "😂", "🤣", "☺️", "😊", "😇", "🙂", "🙃", "😉",
        "😌", "😍", "🥰", "😘", "😗", "😙", "😚", "😋", "😛", "😝", "😜", "🤪", "🤨", "🧐",
        "🤓", "😎", "🤩", "🥳", "😏", "😒", "😞", "😔", "😟", "😕", "🙁", "☹️", "😣", "😖",
        "😫", "😩", "🥺", "😢", "😭", "😤", "😠", "😡", "🤬", "🤯", "😳", "🥵", "🥶", "😱",
        "😰", "😥", "😓", "🤗", "🤔", "🤭", "🤫", "🤥", "😶", "😐", "😑", "😬", "🙄", "😯",
        "😦", "😧", "😲", "🥱", "😴", "🤤", "😪", "😵", "🤐", "🥴", "🤢", "🤮", "🤧", "😷",
        "🤒", "🤕", "🤑", "🤠", "😈", "👿", "👹", "👺", "🤡", "👻", "💀", "☠️", "👽", "👾",
        "🤖", "🎃", "😺", "😸", "😹", "😻", "😼", "😽", "🙀", "😿", "😾", "🌞", "🌝", "🌛",
        "🌜", "🌚", "🌕", "🌖", "🌗", "🌘", "🌑", "🌒", "🌓", "🌔", "🌙", "🌎", "🌍", "🌏",
        "🪐", "💫", "⭐️", "🌟", "✨", "⚡️", "☄️", "💥", "🔥", "🌪", "🌈", "☀️", "🌤",
        "⛅️", "🌥", "☁️", "🌦", "🌧", "⛈", "🌩", "🌨", "❄️", "☃️", "⛄️", "🌬", "💨",
        "💧", "💦", "🌊", "🌫", "🎯", "🎲", "⚽️", "🏀"
    ]
from telethon import events
from wolf import bot as wolfs
import asyncio

from wolf.utils import admin_cmd


@wolfs.on(admin_cmd("luul"))
async def _(event):
    if event.fwd_from:
        return
    animation_interval = 1
    animation_ttl = range(0, 101)
    await event.edit("LOL HAHA ... !!!")
    animation_chars = [
        "😂🤣😂🤣😂🤣😂🤣😂🤣",
        "🤣😂🤣😂🤣😂🤣😂🤣😂",
    ]

    for i in animation_ttl:

        await asyncio.sleep(animation_interval)
        await event.edit(animation_chars[i % 2])