Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<a href="https://cooltext.com"><img src="https://images.cooltext.com/5501763.gif" width="473" height="82" alt="LORD USERBOT" /></a>

<a href="https://cooltext.com"><img src="https://images.cooltext.com/5534665.png" width="350" height="81" alt="GAL-EBOT" /></a>

<p align="center">
<a href="https://github.com/Zora24/Lord-Userbot/fork">
Expand All @@ -11,14 +11,14 @@
</a>
</p>

# Lord Userbot
![Lord Userbot Logo](https://telegra.ph/file/62dc59b2013a48f9cc8f3.jpg)
# GAL-EBOT
![GALE-BOT Logo](https://telegra.ph/file/f356e4b0dde6e3b9ed00c.jpg)

<h3 align="center">Userbot Yang Digunakan Untuk Bersenang-Senang Di Telegram</h3>
<h3 align="center">Repo Yang Di Buat Karena Gabut Ajg</h3>
<p align="center">&nbsp;</p>

### Repo Lord Userbot
Repo Yang Dibuat [Alvin](https://t.me/liualvinas) Dari Berbagai Repo Userbot Github
### Repo GAL-EBOT
Repo Yang Dibuat [Gale](https://t.me/gstwne) Dari Berbagai Repo Userbot Github


### CARA MENDAPATKAN STRING SESSON
Expand All @@ -41,7 +41,7 @@ Caranya Pergi Ke Grup Support Lord-Userbot Lalu Ketik #String [TEKAN DISINI](htt
> Terakhir Hidupkan Dyno Lalu Check Logs (settings -> view logs) Jika Berhasil Enjoy :)
```
Atau Bisa Gabung Ke Grup Lord Userbot -> [TEKAN DISINI](https://t.me/LordUserbot_Group)
## <p align="center">DEPLOY LORD-USERBOT</p>
## <p align="center">DEPLOY GAL-EBOT</p>


<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/Zora24/Lord-Userbot/tree/Lord-Userbot"> <img src="https://img.shields.io/badge/Deploy%20Ke%20Heroku-magenta?style=flat&logo=heroku" width="210" height="34.45" /></a></p>
Expand Down
26 changes: 13 additions & 13 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "Lord-Userbot",
"description": "[Lord-Userbot] USERBOT KHUSUS YANG DIGUNAKAN UNTUK BERSENANG-SENANG DI TELEGRAM.",
"logo": "https://telegra.ph/file/62dc59b2013a48f9cc8f3.jpg",
"name": "GAL-EBOT",
"description": "[GAL-EBOT] Userbot Yang bertujuan untuk bersenang senang",
"logo": "https://telegra.ph/file/f356e4b0dde6e3b9ed00c.jpg",
"keywords": [
"telegram",
"userbot",
"plugin",
"modular",
"productivity"
],
"repository": "https://github.com/Zora24/Lord-Userbot",
"telegram": "https://t.me/liualvinas",
"success_url": "https://t.me/liualvinasmahaputra",
"repository": "https://github.com/galeinst/GAL-EBOT",
"telegram": "https://t.me/Gstwne",
"success_url": "https://t.me/gstwne",
"stack": "container",
"env": {
"API_KEY": {
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"BOTLOG_CHATID": {
"description": "Buatlah sebuah grup private/public masukan bot rose lalu ketik /id.",
"value": "Isi id grup mu",
"value": "Isi Id grup mu cok",
"required": true
},
"CONSOLE_LOGGER_VERBOSE": {
Expand Down Expand Up @@ -151,15 +151,15 @@
},
"DEFAULT_BIO": {
"description": "Default Bio Mu.",
"value": "LORD-USERBOT",
"value": "GAL-EBOT",
"required": false
},
"ALIVE_NAME": {
"description": "Nama untuk menunjukan pesan .alive",
"required": false
},
"LORD_TEKS_KUSTOM": {
"description": "Kustom Pesan Alive Mu Untuk Perintah .lord (Isi Terserah)",
"Gl_TEKS_KUSTOM": {
"description": "Kustom Pesan Alive Mu Untuk Perintah .Gl (Isi Terserah)",
"required": false
},
"S_PACK_NAME": {
Expand All @@ -168,7 +168,7 @@
},
"G_BAN_LOGGER_GROUP": {
"description": "Buatlah Sebuah Grup Private/Public Lalu Masukkan Bot Rose Lalu Ketik /id.",
"value": "Isi id grup mu",
"value": "Isi id grup mu cok",
"required": false
},
"G_DRIVE_DATA": {
Expand All @@ -189,7 +189,7 @@
"required": false
},
"UB_BLACK_LIST_CHAT": {
"description": "Isi Apa Aja",
"description": "Terserah Isi apa aja",
"required": false
},
"LYDIA_API_KEY": {
Expand All @@ -198,7 +198,7 @@
},
"WEATHER_DEFCITY": {
"description": "Set the default city for the userbot's weather module.",
"value": "Batam",
"value": "Kuningan",
"required": false
},
"LOGSPAMMER": {
Expand Down
36 changes: 18 additions & 18 deletions userbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 @galexyz
# Pengguna GAL-EBOT
""" Userbot initialization. """

import os
Expand Down Expand Up @@ -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/galeinst/Lord-Userbot.git")
UPSTREAM_REPO_BRANCH = os.environ.get(
"UPSTREAM_REPO_BRANCH", "Lord-Userbot")
"UPSTREAM_REPO_BRANCH", "GAL-EBOT")

# Console verbose logging
CONSOLE_LOGGER_VERBOSE = sb(os.environ.get("CONSOLE_LOGGER_VERBOSE", "False"))
Expand Down Expand Up @@ -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, "```『GAL-EBOT AKTIF COK』```")
return

with bot:
Expand Down Expand Up @@ -349,7 +349,7 @@ def paginate_help(page_number, loaded_modules, prefix):
helpable_modules = [p for p in loaded_modules if not p.startswith("_")]
helpable_modules = sorted(helpable_modules)
modules = [
custom.Button.inline("{} {} ".format("", x), data="ub_modul_{}".format(x))
custom.Button.inline("{} {} ".format("", x), data="ub_modul_{}".format(x))
for x in helpable_modules
]
pairs = list(zip(modules[::number_of_cols],
Expand Down Expand Up @@ -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("GAL-EBOT, Buat Userbot Mu Sendiri [Tekan Disini](https://github.com/galeinst/Lord-Userbot.git)")
else:
await event.reply(f"`Hai Lord {ALIVE_NAME}\n\nApa Kabarmu?`")
await event.reply(f"`Hai Cok {ALIVE_NAME}\n\nSehat Cok?`")

@tgbot.on(events.InlineQuery) # pylint:disable=E0602
async def inline_handler(event):
Expand All @@ -403,31 +403,31 @@ async def inline_handler(event):
buttons = paginate_help(0, dugmeler, "helpme")
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**",
text="{}\n\n** Jumlah Perintah Yang Tersedia:** `{}`\n \n**❃ Daftar Modul Lord Userbot:** \n".format(
"**✧ GAL-EBOT ✧**",
len(dugmeler),
),
buttons=buttons,
link_preview=False,
)
elif query.startswith("tb_btn"):
result = builder.article(
"Bantuan Lord✗Userbot ",
"Bantuan GAL-EBOT ",
text="Daftar Modul",
buttons=[],
link_preview=True)
else:
result = builder.article(
"**Lord✗Userbot**",
"**GAL-EBOT**",
text="""**Anda Bisa Membuat Lord Userbot Anda Sendiri Dengan Cara:** [Tekan Disini](t.me/Lorduserbot_Group)""",
buttons=[
[
custom.Button.url(
"Repo Lord-Userbot",
"https://github.com/Zora24/Lord-Userbot"),
"Repo GAL-EBOT",
"https://github.com/galeints/Lord-Userbot"),
custom.Button.url(
"Pemilik Repo",
"t.me/liualvinas")],
"t.me/gstwne")],
],
link_preview=False,
)
Expand All @@ -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 GAL-EBOT Anda Sendiri, Jangan Menggunakan Milik Gale {ALIVE_NAME} ツ"
await event.answer(reply_pop_up_alert, cache_time=0, alert=True)

@tgbot.on(
Expand All @@ -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 GAL-EBOT Anda Sendiri, Jangan Menggunakan Milik Gale {ALIVE_NAME} ツ"
await event.answer(reply_pop_up_alert, cache_time=0, alert=True)

@tgbot.on(
Expand Down Expand Up @@ -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 GAL-EBOT Anda Sendiri, Jangan Menggunakan Milik Gale {ALIVE_NAME} ツ"

await event.answer(reply_pop_up_alert, cache_time=0, alert=True)

Expand Down