diff --git a/bot.py b/bot.py index c764199..017a575 100644 --- a/bot.py +++ b/bot.py @@ -26,7 +26,7 @@ async def approve(_, m : Message): try: add_group(m.chat.id) await app.approve_chat_join_request(op.id, kk.id) - await app.send_message(kk.id, "**Hello {}!\nWelcome To {}\n\n__Powerd By : @VJ_Botz __**".format(m.from_user.mention, m.chat.title)) + await app.send_message(kk.id, "**Hello {}!\nWelcome To {}\n\n__Powerd By : @Tgroboticbot**".format(m.from_user.mention, m.chat.title)) add_user(kk.id) except errors.PeerIdInvalid as e: print("user isn't start bot(means group)") @@ -55,12 +55,12 @@ async def op(_, m :Message): return keyboard = InlineKeyboardMarkup( [[ - InlineKeyboardButton("🗯 Channel", url="https://t.me/vj_botz"), - InlineKeyboardButton("💬 Support", url="https://t.me/vj_bot_disscussion") + InlineKeyboardButton("🗯 Channel", url="https://t.me/Tgrobotic"), + InlineKeyboardButton("💬 Support", url="https://t.me/Tgrobotic") ]] ) add_user(m.from_user.id) - await m.reply_photo("https://graph.org/file/d57d6f83abb6b8d0efb02.jpg", caption="**🦊 Hello {}!\nI'm an auto approve [Admin Join Requests]({}) Bot.\nI can approve users in Groups/Channels.Add me to your chat and promote me to admin with add members permission.\n\n__Powered By : @VJ_Botz __**".format(m.from_user.mention, "https://t.me/telegram/153"), reply_markup=keyboard) + await m.reply_photo("https://graph.org/file/d57d6f83abb6b8d0efb02.jpg", caption="**🦊 Hello {}!\nI'm an auto approve [Admin Join Requests]({}) Bot.\nI can approve users in Groups/Channels.Add me to your chat and promote me to admin with add members permission.\n\n__Powered By : @Tgroboticbot**".format(m.from_user.mention, "https://t.me/telegram/153"), reply_markup=keyboard) #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ callback ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -74,12 +74,12 @@ async def chk(_, cb : CallbackQuery): return keyboard = InlineKeyboardMarkup( [[ - InlineKeyboardButton("🗯 Channel", url="https://t.me/vj_botz"), - InlineKeyboardButton("💬 Support", url="https://t.me/vj_bot_disscussion") + InlineKeyboardButton("🗯 Channel", url="https://t.me/Tgrobotic"), + InlineKeyboardButton("💬 Support", url="https://t.me/Tgrobotic") ]] ) add_user(m.from_user.id) - await cb.edit_text(text="**🦊 Hello {}!\nI'm an auto approve [Admin Join Requests]({}) Bot.\nI can approve users in Groups/Channels.Add me to your chat and promote me to admin with add members permission.\n\n__Powered By : @VJ_Botz __**".format(cb.from_user.mention, "https://t.me/telegram/153"), reply_markup=keyboard) + await cb.edit_text(text="**🦊 Hello {}!\nI'm an auto approve [Admin Join Requests]({}) Bot.\nI can approve users in Groups/Channels.Add me to your chat and promote me to admin with add members permission.\n\n__Powered By : @@Tgroboticbot__**".format(cb.from_user.mention, "https://t.me/telegram/153"), reply_markup=keyboard) #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ info ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/configs.py b/configs.py index dba5559..785d98e 100644 --- a/configs.py +++ b/configs.py @@ -7,13 +7,13 @@ class Config: API_ID = int(getenv("API_ID", "")) - API_HASH = getenv("API_HASH", "") - BOT_TOKEN = getenv("BOT_TOKEN", "") + API_HASH = getenv("d5ea503a893548d7d492f91fc72e8ce9", "") + BOT_TOKEN = getenv("7729291712:AAEyuIgE7VLStp1tpZrKiEVrTFFjUujZJks", "") # Your Force Subscribe Channel Id Below - CHID = int(getenv("CHID", "")) # Make Bot Admin In This Channel + CHID = int(getenv("-1002662027422", "")) # Make Bot Admin In This Channel # Admin Or Owner Id Below - SUDO = list(map(int, getenv("SUDO", "").split())) - MONGO_URI = getenv("MONGO_URI", "") + SUDO = list(map(int, getenv("7439650239", "").split())) + MONGO_URI = getenv("mongodb+srv://visionadsproway:@cluster0.cqwby8x.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0", "") cfg = Config()