diff --git a/Dockerfile b/Dockerfile index 5db21fd9..222b102f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM koala21/kampangbot:buster # # LORD # -RUN git clone -b Lord-Userbot https://github.com/Zora24/Lord-Userbot /root/userbot +RUN git clone -b Lord-Userbot https://github.com/azel-kochoyy/DIABLO-USERBOT /root/userbot RUN mkdir /root/userbot/.bin RUN pip install --upgrade pip setuptools WORKDIR /root/userbot diff --git a/app.json b/app.json index f2d0d241..2ef30fd1 100644 --- a/app.json +++ b/app.json @@ -1,6 +1,6 @@ { - "name": "Lord-Userbot", - "description": "[Lord-Userbot] USERBOT KHUSUS YANG DIGUNAKAN UNTUK BERSENANG-SENANG DI TELEGRAM.", + "name": "DIABLO-USERBOT", + "description": "[DIABLO-USERBOT] USERBOT KHUSUS YANG DIGUNAKAN UNTUK BERSENANG-SENANG DI TELEGRAM.", "logo": "https://telegra.ph/file/62dc59b2013a48f9cc8f3.jpg", "keywords": [ "telegram", @@ -9,9 +9,9 @@ "modular", "productivity" ], - "repository": "https://github.com/Zora24/Lord-Userbot", - "telegram": "https://t.me/liualvinas", - "success_url": "https://t.me/liualvinasmahaputra", + "repository": "https://github.com/azel-kochoyy/DIABLO-USERBOT", + "telegram": "https://t.me/diabloyy", + "success_url": "https://t.me/bibitunggulnexus", "stack": "container", "env": { "API_KEY": { diff --git a/userbot/__init__.py b/userbot/__init__.py index 0cd3ef46..7882ac6f 100644 --- a/userbot/__init__.py +++ b/userbot/__init__.py @@ -2,8 +2,8 @@ # # Licensed under the Raphielscape Public License, Version 1.d (the "License"); # you may not use this file except in compliance with the License. -# inline credit @keselekpermen69 -# Pengguna Lord-Userbot +# inline credit @diabloyy +# Pengguna diablo-Userbot """ Userbot initialization. """ import os @@ -101,9 +101,9 @@ # Custom (forked) repo URL for updater. UPSTREAM_REPO_URL = os.environ.get( "UPSTREAM_REPO_URL", - "https://github.com/Zora24/Lord-Userbot.git") + "https://github.com/azel-kochoyy/DIABLO-USERBOT.git") UPSTREAM_REPO_BRANCH = os.environ.get( - "UPSTREAM_REPO_BRANCH", "Lord-Userbot") + "UPSTREAM_REPO_BRANCH", "DIABLO-USERBOT") # Console verbose logging CONSOLE_LOGGER_VERBOSE = sb(os.environ.get("CONSOLE_LOGGER_VERBOSE", "False")) @@ -167,7 +167,7 @@ BITLY_TOKEN = os.environ.get("BITLY_TOKEN", None) # Bot Name -TERM_ALIAS = os.environ.get("TERM_ALIAS", "Lord-Userbot") +TERM_ALIAS = os.environ.get("TERM_ALIAS", "DIABLO-USERBOT") # Bot version BOT_VER = os.environ.get("BOT_VER", "4.0") @@ -319,7 +319,7 @@ async def check_botlog_chatid(): async def check_alive(): - await bot.send_message(BOTLOG_CHATID, "```γ€ŽLord-Userbot Telah Aktif』```") + await bot.send_message(BOTLOG_CHATID, "```π˜‹π˜π˜ˆπ˜‰π˜“π˜–-π˜œπ˜šπ˜Œπ˜™π˜‰π˜–π˜› π˜ˆπ˜’π˜›π˜π˜ γ‚·οΈŽ```") return with bot: @@ -390,9 +390,9 @@ def paginate_help(page_number, loaded_modules, prefix): @tgbot.on(events.NewMessage(pattern="/start")) async def handler(event): if event.message.from_id != uid: - await event.reply("Lord-Userbot, Buat Userbot Mu Sendiri [Tekan Disini](https://github.com/Zora24/Lord-Userbot.git)") + await event.reply("Lord-Userbot, Buat Userbot Mu Sendiri [Tekan Disini](https://github.com/azel-kochoyy/DIABLO-USERBOT.git)") else: - await event.reply(f"`Hai Lord {ALIVE_NAME}\n\nApa Kabarmu?`") + await event.reply(f"`HAI NGENTOT {ALIVE_NAME}\n\nAPA KABSS?`") @tgbot.on(events.InlineQuery) # pylint:disable=E0602 async def inline_handler(event): @@ -404,7 +404,7 @@ async def inline_handler(event): result = builder.article( "Harap Gunakan .help Untuk Perintah", text="{}\n\n**❃ Jumlah Modul Yang Tersedia:** `{}`\n \n**❃ Daftar Modul Lord Userbot:** \n".format( - "**β™› Lord-Userbot**", + "**β™› DIABLO-USERBOT**", len(dugmeler), ), buttons=buttons, @@ -412,22 +412,22 @@ async def inline_handler(event): ) elif query.startswith("tb_btn"): result = builder.article( - "Bantuan Lordβœ—Userbot ", + "Bantuan DIABLOβœ—USERBOT ", text="Daftar Modul", buttons=[], link_preview=True) else: result = builder.article( - "**Lordβœ—Userbot**", - text="""**Anda Bisa Membuat Lord Userbot Anda Sendiri Dengan Cara:** [Tekan Disini](t.me/Lorduserbot_Group)""", + "**DIABLOβœ—USERBOT**", + text="""**Anda Bisa Membuat DIABLO USERBOT Anda Sendiri Dengan Cara:** [Tekan Disini](t.me/bibitunggulnexus)""", buttons=[ [ custom.Button.url( - "Repo Lord-Userbot", - "https://github.com/Zora24/Lord-Userbot"), + "Repo DIABLO-USERBOT", + "https://github.com/azel-kochoyy/Lord-USERBOT"), custom.Button.url( "Pemilik Repo", - "t.me/liualvinas")], + "t.me/diabloyy")], ], link_preview=False, ) @@ -447,7 +447,7 @@ async def on_plug_in_callback_query_handler(event): # https://t.me/TelethonChat/115200 await event.edit(buttons=buttons) else: - reply_pop_up_alert = f"Harap Deploy Lord Userbot Anda Sendiri, Jangan Menggunakan Milik Lord {ALIVE_NAME} ツ" + reply_pop_up_alert = f"Harap Deploy diablo Userbot ente Sendiri tot, Jangan Menggunakan milik tuan sat {ALIVE_NAME} ツ" await event.answer(reply_pop_up_alert, cache_time=0, alert=True) @tgbot.on( @@ -465,7 +465,7 @@ async def on_plug_in_callback_query_handler(event): # https://t.me/TelethonChat/115200 await event.edit(buttons=buttons) else: - reply_pop_up_alert = f"Harap Deploy Lord Userbot Anda Sendiri, Jangan Menggunakan Milik Lord {ALIVE_NAME} ツ" + reply_pop_up_alert = f"Harap Deploy diablo Userbot ente Sendiri, Jangan Menggunakan Milik tuan satt {ALIVE_NAME} ツ" await event.answer(reply_pop_up_alert, cache_time=0, alert=True) @tgbot.on( @@ -496,7 +496,7 @@ async def on_plug_in_callback_query_handler(event): ) ) else: - reply_pop_up_alert = f"Harap Deploy Lord Userbot Anda Sendiri, Jangan Menggunakan Milik Lord {ALIVE_NAME} ツ" + reply_pop_up_alert = f"Harap Deploy diablo Userbot ente Sendiri, Jangan Menggunakan Milik tuan sat {ALIVE_NAME} ツ" await event.answer(reply_pop_up_alert, cache_time=0, alert=True) diff --git a/userbot/modules/kekuatan.py b/userbot/modules/kekuatan.py index cd68509a..f7809d0c 100644 --- a/userbot/modules/kekuatan.py +++ b/userbot/modules/kekuatan.py @@ -31,7 +31,7 @@ # SOFTWARE. # Ported from Xtra-telegram by @heyworld -# LORD USERBOT +# DIABLO USERBOT import os from telethon.errors.rpcerrorlist import YouBlockedUserError @@ -40,21 +40,21 @@ from userbot import bot, TEMP_DOWNLOAD_DIRECTORY, CMD_HELP -@register(outgoing=True, pattern=r'^.kekuatan(:? |$)([1-8])?') +@register(outgoing=True, pattern=r'^.jutsu(:? |$)([1-8])?') async def _(fry): - await fry.edit("`Lord Mengaktifkan Kekuatan Telegram...πŸ‘Ύ`") + await fry.edit("`LORD MULAI MENGAKTIFKAN JUTSU BERUBAH MUKA MU JADI ASW...πŸ₯΅`") level = fry.pattern_match.group(2) if fry.fwd_from: return if not fry.reply_to_msg_id: - await fry.edit("`Mohon Balas Di Sticker Lord`") + await fry.edit("`Balas Di Sticker idiot !`") return reply_message = await fry.get_reply_message() if not reply_message.media: - await fry.edit("`Gambar tidak di dukung`") + await fry.edit("`ngetik yg bener kontol !`") return if reply_message.sender.bot: - await fry.edit("`Mohon Balas Di Sticker Lord`") + await fry.edit("`Balas Di Sticker idiot !`") return chat = "@image_deepfrybot" message_id_to_reply = fry.message.reply_to_msg_id @@ -73,7 +73,7 @@ async def _(fry): """ - don't spam notif - """ await bot.send_read_acknowledge(conv.chat_id) except YouBlockedUserError: - await fry.reply("`Lord Mohon Unblock` @image_deepfrybot`...`") + await fry.reply("`Woi Unblock dulu setan` @image_deepfrybot`...`") return if response.text.startswith("Forward"): await fry.edit("`Lord Mohon Matikan Setelan Forward Privasi...`") @@ -109,14 +109,14 @@ async def _(fry): if fry.fwd_from: return if not fry.reply_to_msg_id: - await fry.edit("`Mohon Balas Di Sticker Lord`") + await fry.edit("`Balas Di Sticker idiot !`") return reply_message = await fry.get_reply_message() if not reply_message.media: - await fry.edit("`Mohon Balas Di Sticker Lord`") + await fry.edit("`Balas Di Sticker idiot !`") return if reply_message.sender.bot: - await fry.edit("`Mohon Balas Di Sticker Lord`") + await fry.edit("`Balas Di Sticker idiot !`") return chat = "@image_deepfrybot" message_id_to_reply = fry.message.reply_to_msg_id @@ -135,7 +135,7 @@ async def _(fry): """ - don't spam notif - """ await bot.send_read_acknowledge(conv.chat_id) except YouBlockedUserError: - await fry.reply("`Lord Mohon Unblock` @image_deepfrybot`...`") + await fry.reply("`WOII Unblock dulu` @image_deepfrybot`...`") return if response.text.startswith("Forward"): await fry.edit("`Lord Mohon Matikan Setelan Privasi Forward...`") @@ -165,7 +165,7 @@ async def _(fry): CMD_HELP.update({ - "kekuatan": - "**Modules: __Kekuatan__\n\n**Perintah:** `.kekuatan` / `.kekuatan [level(1-8)]`" + "JUTSU": + "**Modules: __jutsu__\n\n**Perintah:** `.jutsu` / `.jutsu [level(1-8)]`" "\n**Penjelasan:** untuk mengubah foto/sticker." }) diff --git a/userbot/modules/oi.py b/userbot/modules/oi.py index d3661055..d2075a94 100644 --- a/userbot/modules/oi.py +++ b/userbot/modules/oi.py @@ -2,15 +2,15 @@ from userbot.events import register -@register(outgoing=True, pattern='^.alvin(?: |$)(.*)') +@register(outgoing=True, pattern='^.diablo(?: |$)(.*)') async def typewriter(typew): typew.pattern_match.group(1) sleep(3) - await typew.edit("`Hai Perkenalkan Namaku Alvin`") + await typew.edit("`Halo tod nama gua diablo`") sleep(3) - await typew.edit("`17 Tahun`") + await typew.edit("`16 tahun`") sleep(1) - await typew.edit("`Tinggal Dibatam, Salam Kenal:)`") + await typew.edit("`Tinggal Kalimantan, Salam ngentot:)`") # Create by myself @localheart @@ -18,11 +18,11 @@ async def typewriter(typew): async def typewriter(typew): typew.pattern_match.group(1) sleep(3) - await typew.edit("`Cuma Mau Bilang`") + await typew.edit("`gua dah lama suka sama lo`") sleep(3) - await typew.edit("`Aku Sayang Kamu`") + await typew.edit("`dan hari ini aku beraniin tuk ngungkapin`") sleep(1) - await typew.edit("`I LOVE YOU πŸ’ž`") + await typew.edit("`GUA SAYANG LO , MARI KITA NGENTOT πŸ’ž`") # Create by myself @localheart @@ -32,7 +32,7 @@ async def typewriter(typew): sleep(3) await typew.edit("`Apapun Yang Terjadi`") sleep(3) - await typew.edit("`Tetaplah Bernapas`") + await typew.edit("`Tetaplah Coli`") sleep(1) - await typew.edit("`Dan Selalu Bersyukur`") + await typew.edit("`Dan Selalu ngewe`") # Create by myself @localheart diff --git a/userbot/modules/salam.py b/userbot/modules/salam.py index c138b558..4621ebf7 100644 --- a/userbot/modules/salam.py +++ b/userbot/modules/salam.py @@ -10,25 +10,25 @@ @register(outgoing=True, pattern='^.P(?: |$)(.*)') async def typewriter(typew): typew.pattern_match.group(1) - await typew.edit("Assalamu'alaikum") + await typew.edit("Assalamu'alaikum anjeng") @register(outgoing=True, pattern='^.p(?: |$)(.*)') async def typewriter(typew): typew.pattern_match.group(1) - await typew.edit("Assalamu'alaikum") + await typew.edit("Assalamu'alaikum anjeng") @register(outgoing=True, pattern='^.L(?: |$)(.*)') async def typewriter(typew): typew.pattern_match.group(1) - await typew.edit("Wa'alaikumussalam") + await typew.edit("Wa'alaikumussalam kentod") @register(outgoing=True, pattern='^.l(?: |$)(.*)') async def typewriter(typew): typew.pattern_match.group(1) - await typew.edit("Wa'alaikumussalam") + await typew.edit("Wa'alaikumussalam kentod") CMD_HELP.update({ diff --git a/zelfaction.py b/zelfaction.py new file mode 100644 index 00000000..ec7e6454 --- /dev/null +++ b/zelfaction.py @@ -0,0 +1,85 @@ +# Port By @VckyouuBitch From Geez-Projects +# # Copyright (C) 2021 Geez-Project +from userbot.events import register +from userbot import CMD_HELP +import asyncio + + +@register(outgoing=True, pattern="^.ftyping(?: |$)(.*)") +async def _(event): + t = event.pattern_match.group(1) + if not (t or t.isdigit()): + t = 100 + else: + try: + t = int(t) + except BaseException: + try: + t = await event.ban_time(t) + except BaseException: + return await event.edit("`Incorrect Format`") + await event.edit(f"`Kebanyakan fake hidup lu ngentot!`") + await event.edit(f"`Memulai Fake Typing {t} detik.`") + async with event.client.action(event.chat_id, "typing"): + await asyncio.sleep(t) + + +@register(outgoing=True, pattern="^.faudio(?: |$)(.*)") +async def _(event): + t = event.pattern_match.group(1) + if not (t or t.isdigit()): + t = 100 + else: + try: + t = int(t) + except BaseException: + try: + t = await event.ban_time(t) + except BaseException: + return await event.edit("`Incorrect Format`") + await event.edit(f"`Memulai Fake Audio dalam {t} detik.`") + async with event.client.action(event.chat_id, "record-audio"): + await asyncio.sleep(t) + + +@register(outgoing=True, pattern="^.fvideo(?: |$)(.*)") +async def _(event): + t = event.pattern_match.group(1) + if not (t or t.isdigit()): + t = 100 + else: + try: + t = int(t) + except BaseException: + try: + t = await event.ban_time(t) + except BaseException: + return await event.edit("`Incorrect Format`") + await event.edit(f"`Memulai Fake video dalam {t} detik.`") + async with event.client.action(event.chat_id, "record-video"): + await asyncio.sleep(t) + + +@register(outgoing=True, pattern="^.fgame(?: |$)(.*)") +async def _(event): + t = event.pattern_match.group(1) + if not (t or t.isdigit()): + t = 100 + else: + try: + t = int(t) + except BaseException: + try: + t = await event.ban_time(t) + except BaseException: + return await event.edit("`Incorrect Format`") + await event.edit(f"`Memulai Fake Play game dalam {t} detik.`") + async with event.client.action(event.chat_id, "game"): + await asyncio.sleep(t) + +CMD_HELP.update( + { + "faction": "π˜Ύπ™€π™’π™’π™–π™£π™™: `.ftyping : .faudio : .fvideo : .fgame `" + "\nβ€’ : Fake typing ini Berfungsi dalam group" + } +)