Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Update multi_bot.py
Browse files Browse the repository at this point in the history
1. Removed Personal Stuff
2. User need to modify directories i.e.(change download directories and files saving directory)
  • Loading branch information
Philotheephilix authored Apr 29, 2023
1 parent a55ccc7 commit 772c7d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions multi_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from PIL import Image
from PyPDF2 import PdfFileMerger
import re
API_KEY = "6204099009:AAE-SAOmucAseVsMGHgron0A2OsTIKu3884"
API_KEY = "<TELEGRAM BOT API KEY>"
bot = telebot.TeleBot(API_KEY)
BASE_URL = "http://api.openweathermap.org/data/2.5/weather?"
API = "533736d7bda8fe68d7914d84c0354da6"
API = "<OPEN WEATHER API KEY>"
bot = telebot.TeleBot(API_KEY)
def remove(list):
pattern = '[0-9]'
Expand Down Expand Up @@ -53,8 +53,8 @@ def convert(message):
@bot.message_handler(commands=["check_email"])
def check_email(message):
mail = imaplib.IMAP4_SSL("imap.gmail.com")
username = "[email protected]"
password = "456@Icam"
username = "<MAIL ID FOR CHECKING EMAIL>"
password = "PASSWORD FOR ABOVE EMAIL"
mail.login(username, password)
mail.select("inbox")
result, data = mail.search(None, "UNSEEN")
Expand Down

0 comments on commit 772c7d3

Please sign in to comment.