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

Commit

Permalink
Create __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Randi356 authored Jun 24, 2022
1 parent 3a41b17 commit f4e490c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _telethon/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# (c) code by Randi356
# Credits by https://github.com/Randi356/KillerX-Music

import time
from datetime import datetime
import logging
from telethon import TelegramClient, events
from telethon.sessions import StringSession
from config import *

logging.basicConfig(
level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
)

LOGGER = logging.getLogger(__name__)
StartTime = time.time()
app = TelegramClient(StringSession(TE_SESSION), api_id=API_ID, api_hash=API_HASH)

0 comments on commit f4e490c

Please sign in to comment.