diff --git a/README.md b/README.md index 69ef866..542b096 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@

πŸ†• What's New!

1.Gclone upgraded to v1.59.0 (latest)!πŸ˜‰

2.Base Image changed to Ubuntu 22.04

-

3.Updated Filters.group to Filters.chat_type.groups as well as Filters.private to Filters.chat_type.private to support Python 3.10

+

3.CloneBot V2 is now confortable with Python 3.10.6

4.Resloved $PORT listening Errors in Okteto and other platforms

5.Old Docker Image ghcr.io/thecaduceus/clonebot_v2:main is now no more supported and deprecated!

Show Full Update history

diff --git a/index.html b/index.html index d0c4aaf..116150d 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,7 @@

πŸ“‘ INDEX

πŸ†• What's New!

1.Gclone upgraded to v1.59.0 (latest)!πŸ˜‰

2.Base Image changed to Ubuntu 22.04

-

3.Updated Filters.group to Filters.chat_type.groups as well as Filters.private to Filters.chat_type.private to support Python 3.10

+

3.CloneBot V2 is now confortable with Python 3.10.6

4.Resloved $PORT listening Errors in Okteto and other platforms

5.Old Docker Image ghcr.io/thecaduceus/clonebot_v2:main is now no more supported and deprecated!

Show Full Update history

diff --git a/telegram_gcloner/handlers/add_group.py b/telegram_gcloner/handlers/add_group.py index 5c6a9a4..784790c 100644 --- a/telegram_gcloner/handlers/add_group.py +++ b/telegram_gcloner/handlers/add_group.py @@ -31,12 +31,12 @@ def add_group(update, context): html.escape(update.message.from_user.full_name)) context.bot.send_message( chat_id=update.message.chat_id, - text=f'γ€Ž{mention_html_from_user}』Thank you for adding this MsgSuite CloneBot bot to the group. {config.AD_STRING.format(context.bot.username)}', + text=f'γ€Ž{mention_html_from_user}』Thank you for adding CloneBot V2. {config.AD_STRING.format(context.bot.username)}', parse_mode=ParseMode.HTML, ) - context.bot.send_message(chat_id=update.message.chat_id, text='I am not authorized to be here πŸ˜”. \n So I am leaving this group. \n Ask my owner to allow me in your group.') - message = f'πŸ”™ Left Uunauthorized Group : \n β”‚ Name : {update.message.chat.title} ({update.message.chat_id}). \n β”‚ Bot Added by{mention_html_from_user} {update.message.from_user.id}. \n β”‚ Message : {update.message.text}' + context.bot.send_message(chat_id=update.message.chat_id, text='I am not allowed to be here πŸ˜”. \n So I am leaving this group. \n Ask my owner to allow me in this group.') + message = f'πŸ”™ Left Unauthorized Group : \n β”‚ Name : {update.message.chat.title} ({update.message.chat_id}). \n β”‚ Bot Added by{mention_html_from_user} {update.message.from_user.id}. \n β”‚ Message : {update.message.text}' context.bot.leave_chat(update.message.chat_id) logger.warning(message)