diff --git a/haruka/__main__.py b/haruka/__main__.py index 79dd0332..857c4145 100755 --- a/haruka/__main__.py +++ b/haruka/__main__.py @@ -20,26 +20,30 @@ from haruka.modules.translations.strings import tld, tld_help from haruka.modules.connection import connected +START_IMG = os.environ.get('START_IMG', None) + +if START_IMG is None: + + img = "https://telegra.ph/file/4c1b792054bcb3be3cb0f.jpg" + +else: + + img = START_IMG + PM_START = """Hello {}, my name is {}! You know how hard it is sometimes to manage group so here is the solution for you I'm group manager bot and Anti-spam for RR Players๐Ÿƒ +This powerful Group manager bot was made by @Asur_Official + Activate Anti-spam protection in your BM by this command : /antispam on -Made from the source code of [Aditya ๐Ÿ‡ฎ๐Ÿ‡ณ](t.me/xditya) - -Special thanks to [this person](t.me/denver02) for helping me. - -Deploy a bot like me [now](www.github.com/xditya/GroupManager) - -Watch [video tutorial](https://www.youtube.com/watch?v=gXXFpTAk6Vo&feature=youtu.be) on deploying me. - Click /help or Help button below to find out more about how to use me to my full potential. - Add me to a group by clicking [here](http://t.me/tg_GroupManagerBot?startgroup=true). + Add me to a group by clicking or by add button [here](http://t.me/tg_Asur_groupmaneger_bot?startgroup=true). """ @@ -158,8 +162,12 @@ def send_start(bot, update): text = PM_START keyboard = [[InlineKeyboardButton(text="๐Ÿ‡ฎ๐Ÿ‡ณ Language", callback_data="set_lang_")]] - keyboard += [[InlineKeyboardButton(text="๐Ÿ›  Reporting", callback_data="cntrl_panel_M"), - InlineKeyboardButton(text="โ” Help", callback_data="help_back")]] + keyboard += [[InlineKeyboardButton(text="๐Ÿ›  Reporting", callback_data="cntrl_panel_M"), + InlineKeyboardButton(text="โ” Help", callback_data="help_back")]] + InlineKeyboardButton(text="โ” Help", callback_data="help_back") + InlineKeyboardButton(text="๐Ÿค–Add Me To Your Group", + url="t.me/{}?startgroup=true".format( + context.bot.username))]] update.effective_message.reply_text(PM_START.format(escape_markdown(first_name), bot.first_name), reply_markup=InlineKeyboardMarkup(keyboard), disable_web_page_preview=True, parse_mode=ParseMode.MARKDOWN) diff --git a/runtime.txt b/runtime.txt index 5c453803..0fd6938d 100755 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.6.4 +python-3.8.6