06funks.enact-icloud.com's People
06funks.enact-icloud.com's Issues
https://twitter.com/i/redirect?url=https%3A%2F%2Ftwitter.com%2Fi%2Fevents%2F1575815747594502146%3Fcn%3DZmxleGlibGVfcmVjcw%253D%253D%26refsrc%3Demail&t=1+1664588033289&cn=ZmxleGlibGVfcmVjcw%3D%3D&sig=66409640c5a4c5665a657dfedadaebf0e5f2d9b5&iid=a5d0e7ca682847a985e11f4c6c7891ad&uid=1498053780532875266&nid=244+273027088
Originally posted by @GAVID1020examplysabah in octocat/Spoon-Knife#28142
@DonTheorist use this to socialize
@DonTheorist use this to socialize
Originally posted by @DanielPal in octocat/Hello-World#6 (comment)
Originally posted by @kirmo9 in octocat/Hello-World#2381
### Checklist
Checklist
- I am sure the error is coming from Pyrogram's code and not elsewhere
- I have searched in the issue tracker for similar bug reports, including closed ones
- I ran
pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip
and reproduced the issue using the latest development version
Description
app.me returns my user id (int) It doesn't work because it is specified as app.me.is_premium in the code
There are other errors due to this reason.
like this
Steps to reproduce
Code example
No response
Logs
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "c:\Users\USER\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\lib\python\debugpy\__main__.py", line 45, in <module>
cli.main()
File "c:\Users\USER\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 444, in main
run()
File "c:\Users\USER\.vscode\extensions\ms-python.python-2022.8.1\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 285, in run_file
runpy.run_path(target_as_str, run_name=compat.force_str("__main__"))
File "C:\Program Files\Python39\lib\runpy.py", line 268, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Program Files\Python39\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
app.run(main())
File "C:\Users\USER\AppData\Roaming\Python\Python39\site-packages\pyrogram\methods\utilities\run.py", line 77, in run
run(coroutine)
File "C:\Program Files\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "c:\Users\USER\Desktop\userbott\main.py", line 123, in main
await app.send_document("me", __file__, caption=f"{now_str_date()} - Userbot start")
File "C:\Users\USER\AppData\Roaming\Python\Python39\site-packages\pyrogram\methods\messages\send_document.py", line 161, in send_document
file = await self.save_file(document, progress=progress, progress_args=progress_args)
File "C:\Users\USER\AppData\Roaming\Python\Python39\site-packages\pyrogram\methods\advanced\save_file.py", line 128, in save_file
file_size_limit_mib = 4000 if self.me.is_premium else 2000
AttributeError: 'int' object has no attribute 'is_premium'
Originally posted by @Eikosa in pyrogram/pyrogram#1035
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.