Skip to content

Commit

Permalink
[update] console
Browse files Browse the repository at this point in the history
  • Loading branch information
m3taphor committed Dec 19, 2024
1 parent a1deb25 commit c212d9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bot/core/tapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ async def get_tg_web_data(self, proxy: str | None) -> str:
tg_web_data = unquote(string=auth_url.split('tgWebAppData=')[1].split('&tgWebAppVersion')[0])

user_data = unquote(tg_web_data.split('&user=')[1])
print(user_data)
username = user_data.split('"username":"')[1].split('"')[0].lower() if '"username":"' in user_data else 'null'

me = await self.tg_client.get_me()
Expand Down

0 comments on commit c212d9d

Please sign in to comment.