Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
881aa73
1
Parent(s):
56510c8
Update bot_class.py
Browse files- Powers/bot_class.py +1 -1
Powers/bot_class.py
CHANGED
|
@@ -51,7 +51,7 @@ class Gojo(Client):
|
|
| 51 |
)
|
| 52 |
meh = await self.get_me() # Get bot info from pyrogram client
|
| 53 |
LOGGER.info("Starting bot...")
|
| 54 |
-
owner_user = await self.get_users(OWNER_ID)).username
|
| 55 |
Config.owner_username = owner_user
|
| 56 |
Config.BOT_ID = meh.id
|
| 57 |
Config.BOT_NAME = meh.first_name
|
|
|
|
| 51 |
)
|
| 52 |
meh = await self.get_me() # Get bot info from pyrogram client
|
| 53 |
LOGGER.info("Starting bot...")
|
| 54 |
+
owner_user = (await self.get_users(OWNER_ID)).username
|
| 55 |
Config.owner_username = owner_user
|
| 56 |
Config.BOT_ID = meh.id
|
| 57 |
Config.BOT_NAME = meh.first_name
|