File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99StartTime = time .time ()
1010logging .basicConfig (level = logging .INFO )
1111
12+ LOGGER = logging .getLogger (__name__ )
13+
14+ telegraph = Telegraph ()
15+ telegraph .create_account (short_name = 'anime' )
16+
17+ API_ID = os .environ .get ('API_ID' , None )
18+ API_HASH = os .environ .get ('API_HASH' , None )
19+ BOT_TOKEN = os .environ .get ('BOT_TOKEN' , None )
20+ ALLOWED_USERS = [
21+ 1809105906
22+ ]
23+ LOG_CHANNEL = os .environ .get ('LOG_CHANNEL' , None )
24+ OWNER_USERNAME = os .environ .get ('OWNER_USERNAME' , None )
25+ BOT_USERNAME = os .environ .get ('BOT_USERNAME' , None )
26+ BOT_NAME = os .environ .get ('BOT_NAME' , None )
27+ INLINE_PIC = os .environ .get ('INLINE_PIC' , None )
28+ INLINE_PIC_1 = os .environ .get ('INLINE_PIC_1' , None )
29+
30+ jikan = Jikan ()
31+ ANIME = Client ("Anime" , api_id = API_ID , api_hash = API_HASH , bot_token = BOT_TOKEN )
32+ with ANIME :
33+ botname = ANIME .get_me ().username
You canβt perform that action at this time.
0 commit comments