Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Filterbot

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy?template=https://github.com/No-OnE-Kn0wS-Me/Filterbot)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy?template=https://github.com/Vivektp/Filterbot)
8 changes: 4 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"manager",
"3"
],
"repository": "https://github.com/NO-ONE-KN0WS-ME/Filterbot",
"repository": "https://github.com/vivektp/filterbot",
"env": {
"ENV": {
"description": "Setting this to ANYTHING will enable env variables",
Expand All @@ -29,11 +29,11 @@
},
"OWNER_USERNAME": {
"description": "Your username",
"value": "No_OnE_Kn0wS_Me"
"value": "VivekTirur"
},
"OWNER_NAME": {
"description": "Your name",
"value": "Hitsuka"
"value": "Vivek"
},
"WEBHOOK": {
"description": "Setting this to ANYTHING will enable webhooks when in env mode messages",
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"DONATION_LINK": {
"description": "Optional: link where you would like to receive donations.",
"value": "https://www.paypal.me/Your_id_here"
"value": "https://t.me/vivektvp"
},
"PORT": {
"description": "Port to use for your webhooks",
Expand Down
13 changes: 8 additions & 5 deletions tg_bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
PM_START_TEXT = """

Hello {},My Name is {} !.
My Creater @vivektvp

Join @vkprojects

I'm Filter Manager Bot Maintained By [{}](https://t.me/{}).

Expand All @@ -33,10 +36,10 @@
""".format(dispatcher.bot.first_name, "" if not ALLOW_EXCL else "\nഈ പറഞ്ഞിരിക്കുന്ന commandകൾ എല്ലാം / അല്ലെങ്കിൽ ! വെച്ച് ഉപയോഗിക്കാവുന്നതാണ്...\n")

DONATE_STRING = """Heya, glad to hear you want to donate!
It took lots of work for [my creator](t.me/sonoflars) to get me to where I am now, and every donation helps \
It took lots of work for [my creator](t.me/VIVEKTVP) to get me to where I am now, and every donation helps \
motivate him to make me even better. All the donation money will go to a better VPS to host me, and/or beer \
(see his bio!). He's just a poor student, so every little helps!
There are two ways of paying him; [PayPal](paypal.me/PaulSonOfLars), or [Monzo](monzo.me/paulnionvestergaardlarsen)."""
There are two ways of paying him; [pay](t.me/VIVEKTVP)."""

IMPORTED = {}
MIGRATEABLE = []
Expand Down Expand Up @@ -127,13 +130,13 @@ def start(bot: Bot, update: Update, args: List[str]):
else:
first_name = update.effective_user.first_name
update.effective_message.reply_photo(DEVIL_IMG,PM_START_TEXT.format(escape_markdown(first_name), escape_markdown(bot.first_name), OWNER_NAME, OWNER_USERNAME ),reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton(text="📞Help",url="t.me/{}?start=help".format(bot.username)),InlineKeyboardButton(text=" 👥 channel.",url="https://telegram.dog/Mai_bOTs")],
[InlineKeyboardButton(text="Creater",url="https://t.me/No_OnE_Kn0wS_Me"),InlineKeyboardButton(text="Mai Source",url="https://github.com/No-OnE-Kn0wS-Me/Filterbot")]]),disable_web_page_preview=True, parse_mode=ParseMode.MARKDOWN)
[[InlineKeyboardButton(text="📞Help",url="t.me/{}?start=help".format(bot.username)),InlineKeyboardButton(text=" 👥 channel.",url="https://telegram.dog/VKPROJECTS")],
[InlineKeyboardButton(text="Creater",url="https://t.me/VIVEKTVP"),InlineKeyboardButton(text="Mai Source",url="https://t.me/nokkiirunnoippokittum")]]),disable_web_page_preview=True, parse_mode=ParseMode.MARKDOWN)
else:


update.effective_message.reply_text("Heya, How can I help you? 🙂",reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton(text="❓ Help",url="t.me/{}?start=help".format(bot.username)),InlineKeyboardButton(text=" Mai Repo",url="https://github.com/No-OnE-Kn0wS-Me/Filterbot")]]))
[[InlineKeyboardButton(text="❓ Help",url="t.me/{}?start=help".format(bot.username)),InlineKeyboardButton(text=" Mai Repo",url="https://t.me/nokkiirunnoippokittum")]]))

# for test purposes
def error_callback(bot, update, error):
Expand Down