Skip to content

Commit

Permalink
Update callback.py
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymarbapro authored Sep 4, 2021
1 parent 8380a32 commit 1f19cad
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions plugins/callback.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#MIT License

#Copyright (c) 2021 subinps
#Copyright (c) 2021 harrymarba

#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -53,13 +53,13 @@ async def cb_handler(bot: Client, query: CallbackQuery):
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton("👨🏼‍💻Developer", url='https://t.me/subinps'),
InlineKeyboardButton("🤖Other Bots", url="https://t.me/subin_works/122"),
InlineKeyboardButton("⚙️Update Channel", url="https://t.me/subin_works")
InlineKeyboardButton("👨🏼‍💻Developer", url='https://t.me/harrymarba'),
InlineKeyboardButton("🤖Other Bots", url="https://t.me/harrymarba"),
InlineKeyboardButton("⚙️Update Channel", url="https://t.me/harrymarba")
],
[
InlineKeyboardButton("🔗Source Code", url="https://github.com/subinps/Instagram-Bot"),
InlineKeyboardButton("🧩Deploy Own Bot", url="https://heroku.com/deploy?template=https://github.com/subinps/Instagram-Bot")
InlineKeyboardButton("🔗Source Code", url="https://github.com/harrymarbapro/Instagram-Bot"),
InlineKeyboardButton("🧩Deploy Own Bot", url="https://heroku.com/deploy?template=https://github.com/harrymarbapro/Instagram-Bot")
]
]
)
Expand Down Expand Up @@ -200,7 +200,7 @@ async def cb_handler(bot: Client, query: CallbackQuery):
text_file = open(f"{username}'s followers.txt", "w")
text_file.write(followers)
text_file.close()
await bot.send_document(chat_id=chat_id, document=f"./{username}'s followers.txt", caption=f"{name}'s followers\n\nA Project By [XTZ_Bots](https://t.me/subin_works)")
await bot.send_document(chat_id=chat_id, document=f"./{username}'s followers.txt", caption=f"{name}'s followers\n\nA Project By [Harrymarba](https://t.me/harrymarba)")
os.remove(f"./{username}'s followers.txt")


Expand All @@ -227,7 +227,7 @@ async def cb_handler(bot: Client, query: CallbackQuery):
text_file = open(f"{username}'s followees.txt", "w")
text_file.write(followees)
text_file.close()
await bot.send_document(chat_id=chat_id, document=f"./{username}'s followees.txt", caption=f"{name}'s followees\n\nA Project By [XTZ_Bots](https://t.me/subin_works)")
await bot.send_document(chat_id=chat_id, document=f"./{username}'s followees.txt", caption=f"{name}'s followees\n\nA Project By [Harrymarba](https://t.me/harrymarba)")
os.remove(f"./{username}'s followees.txt")


Expand Down

0 comments on commit 1f19cad

Please sign in to comment.