From 306699f641b7134de6491079d6a6789647b64c51 Mon Sep 17 00:00:00 2001 From: Systemlayer3 <151946309+Systemlayer3@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:13:35 +0530 Subject: [PATCH 1/5] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 879553a..62bf0b5 100644 --- a/config.py +++ b/config.py @@ -8,7 +8,7 @@ # Mandatory variables for the bot to start API_ID = int(os.getenv("API_ID", "Your Api Id")) API_HASH = os.environ.get("API_HASH", "Your Api Hash") -BOT_TOKEN = os.environ.get("BOT_TOKEN", "Bot Token") +BOT_TOKEN = os.environ.get("BOT_TOKEN", "6702361035:AAFVM-QGYWFG5tvnbKcRyqlBdDucW5Al_KU") ADMINS = [int(i.strip()) for i in os.environ.get("ADMINS", "").split(",") if i.strip()] ADMIN = ADMINS DATABASE_NAME = os.environ.get("DATABASE_NAME", "Db Name") From 66c658678391f840babd44f77423100e6a5843fe Mon Sep 17 00:00:00 2001 From: Systemlayer3 <151946309+Systemlayer3@users.noreply.github.com> Date: Sat, 25 Nov 2023 00:33:46 +0530 Subject: [PATCH 2/5] Update translation.py --- translation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/translation.py b/translation.py index c04d48e..bb4afbc 100644 --- a/translation.py +++ b/translation.py @@ -5,11 +5,11 @@ ''' HELP_MESSAGE = '''**Hi, {}** -A bot to short link support bulk link conversion. I can convert links directly from your EZ4Short account. +A bot to short link support bulk link conversion. I can convert links directly from your shrinkme.ioaccount. -1. Go To πŸ‘‰ https://bit.ly/EZ4Short +1. Go To πŸ‘‰ https://shrinkme.io/api 2. Then Copy API Key -3. Then long press /api command then paste your API Key (see example to understand more...) +3. Then long press /api command then paste your API Key (43158cd2de15fd89738b02619a33de9ec093e47b) **/api Your API Key (See Example.πŸ‘‡) @@ -22,11 +22,11 @@ **Contact** πŸ‘‰ @Jakeedot (For support) ''' -ABOUT_TEXT = '''**Hey! My name is @EZ4ShortBot.** +ABOUT_TEXT = '''**Hey! My name is 68985.** **⚑Features⚑** -β€’ I can **Convert any** links or posts to your **EZ4Short** link / post. (Button Links Posts, Hidden links/Hyperlinks All Are Supported) +β€’ I can **Convert any** links or posts to your **68985** link / post. (Button Links Posts, Hidden links/Hyperlinks All Are Supported) β€’ I Can **auto** add custom **footer text** to your every post. Hit πŸ‘‰ /footer To know more... @@ -45,7 +45,7 @@ This feature works only in private mode only -Ex: https://t.me/reUpdates | Updates""" +Ex: Updates""" ADMINS_MESSAGE = """ From 5df035e547d18ff95140420c8f193057b57996cb Mon Sep 17 00:00:00 2001 From: Systemlayer3 <151946309+Systemlayer3@users.noreply.github.com> Date: Sat, 25 Nov 2023 00:39:55 +0530 Subject: [PATCH 3/5] Update translation.py --- translation.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/translation.py b/translation.py index bb4afbc..f037b16 100644 --- a/translation.py +++ b/translation.py @@ -90,11 +90,11 @@ ]) USER_ABOUT_MESSAGE = """ -- Website: [{base_site}](https://ez4short.com/ref/jakeedot) +- Website: [{base_site}](https://shrinkme.io/ref/Hs534415) - Site Link {base_site} Current Linked API: {shortener_api} -- Replace Channel Username: @{username} +- Replace Channel Username: @layersyetem - Header Text: {header_text} @@ -111,9 +111,9 @@ Ex: `/api de303d5270f481aec928f39883da7b7f9a8812ac ` -Get API From [{base_site}](https://ez4short.com/ref/jakeedot) +Get API From [{base_site}](https://shrinkme.io/ref/Hs534415) -Current API: `{shortener_api}`""" +Current API: `{43158cd2de15fd89738b02619a33de9ec093e47b}`""" HEADER_MESSAGE = """**Reply to the Header Text You Want** @@ -129,14 +129,14 @@ For adding **line break** use \n To Remove Footer Text: `/footer remove`""" -USERNAME_TEXT = """**Hi! {}, I am EZ4Short bot, bulk link converter bot From Linked Your EZ4Short Account,** +USERNAME_TEXT = """**Hi! {}, I am EZ4Short bot, bulk link converter bot From Linked Your 68985 Account,** **🌟 Type** /channel (channel link or username) **example:** -/channel @EZ4Short +/channel @layersyetem Or -/channel https://t.me/EZ4Short +/channel https://t.me/layersyetem **🀘 Hit** πŸ‘‰ /features To Know More Features Of This Bot. From b003d091378a0d29145d009a985e60f1f4e7a8f6 Mon Sep 17 00:00:00 2001 From: Systemlayer3 <151946309+Systemlayer3@users.noreply.github.com> Date: Sat, 25 Nov 2023 09:43:30 +0530 Subject: [PATCH 4/5] Update config.py --- config.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.py b/config.py index 62bf0b5..123f166 100644 --- a/config.py +++ b/config.py @@ -6,18 +6,18 @@ load_dotenv() # Mandatory variables for the bot to start -API_ID = int(os.getenv("API_ID", "Your Api Id")) -API_HASH = os.environ.get("API_HASH", "Your Api Hash") -BOT_TOKEN = os.environ.get("BOT_TOKEN", "6702361035:AAFVM-QGYWFG5tvnbKcRyqlBdDucW5Al_KU") +API_ID = int(os.getenv("API_ID", "23959532")) +API_HASH = os.environ.get("API_HASH", "cb371d8744f6f852dd4b9c43e01349f9") +BOT_TOKEN = os.environ.get("BOT_TOKEN", "6932675345:AAGro8kHiSn6GNCvmnO_aUHhr9NwQUGMDgE") ADMINS = [int(i.strip()) for i in os.environ.get("ADMINS", "").split(",") if i.strip()] ADMIN = ADMINS -DATABASE_NAME = os.environ.get("DATABASE_NAME", "Db Name") -DATABASE_URL = os.getenv("DATABASE_URL", "Mongodb url") -OWNER_ID = int(os.environ.get("OWNER_ID", "Owner Id")) +DATABASE_NAME = os.environ.get("DATABASE_NAME", "cluster0") +DATABASE_URL = os.getenv("DATABASE_URL", "mongodb+srv://Hs534415:@cluster0.nagkto0.mongodb.net/") +OWNER_ID = int(os.environ.get("OWNER_ID", "-1001906223425 -1001706300873")) ADMINS.append(OWNER_ID) if OWNER_ID not in ADMINS else [] -LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "Logs Channels Id")) -UPDATE_CHANNEL = os.environ.get("UPDATE_CHANNEL", "Updates Channel User name Without @") # For Force Subscription +LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "1993185966")) +UPDATE_CHANNEL = os.environ.get("UPDATE_CHANNEL", "layersyetem") # For Force Subscription BROADCAST_AS_COPY = os.environ.get('BROADCAST_AS_COPY', "True") # true if forward should be avoided WELCOME_IMAGE = os.environ.get("WELCOME_IMAGE", '') # image when someone hit /start LINK_BYPASS = "False" From b61b536a57d0003f3f2128ed959235343d1dbe8a Mon Sep 17 00:00:00 2001 From: Systemlayer3 <151946309+Systemlayer3@users.noreply.github.com> Date: Sat, 25 Nov 2023 09:57:09 +0530 Subject: [PATCH 5/5] Update config.py --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 123f166..f27a624 100644 --- a/config.py +++ b/config.py @@ -13,7 +13,7 @@ ADMIN = ADMINS DATABASE_NAME = os.environ.get("DATABASE_NAME", "cluster0") DATABASE_URL = os.getenv("DATABASE_URL", "mongodb+srv://Hs534415:@cluster0.nagkto0.mongodb.net/") -OWNER_ID = int(os.environ.get("OWNER_ID", "-1001906223425 -1001706300873")) +OWNER_ID = int(os.environ.get("OWNER_ID", "-1001906223425")) ADMINS.append(OWNER_ID) if OWNER_ID not in ADMINS else [] LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL", "1993185966"))