Open mhmdrzkii opened 2 years ago
Will try to fix it tmrw :-)
thank you sir, i'm waiting for that goodluck
and some filters also seem to have errors for some reason, like
/ban
'NoneType' object has no attribute 'message_id'
/promote
'NoneType' object has no attribute 'message_id'
@mhmdrzkii message_id became id. Replace it.
@rozari0 how about,
Traceback (most recent call last): File "c:\Users\rizkirdp\ZeroTwo\zerotwo.py", line 10, in import configs File "c:\Users\rizkirdp\ZeroTwo\configs.py", line 9, in API_ID = int(os.getenv("13937340")) TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
i use in vscode
@mhmdrzkii API_ID = 13937340
same,
raise AttributeError("No API Key found. More info: https://docs.pyrogram.org/intro/setup")
AttributeError: No API Key found. More info: https://docs.pyrogram.org/intro/setup
PS C:\Users\rizkirdp\ZeroTwo>
i think it's right
API_ID = 13937340
API_HASH = os.getenv("823650e1894861c0d812c0bxxxx")
BOT_TOKEN = os.getenv("55694xxxx"
@mhmdrzkii Remove os.getenv(blahblahblah)
Just declare variable with value.
@STBxD Nou
@TAMILVIP007 Stfu
@TAMILVIP007 Fu
@TAMILVIP007 Mf
@TAMILVIP007 Gay
@TAMILVIP007 Shit
@TAMILVIP007 Slut
@TAMILVIP007 .
@TAMILVIP007 .
@TAMILVIP007 .
@TAMILVIP007 .
@TAMILVIP007 .
@TAMILVIP007 .
@TAMILVIP007 .
sir i tried it and
Traceback (most recent call last): File "c:\Users\rizkirdp\ZeroTwo\zerotwo.py", line 10, in
import configs
File "c:\Users\rizkirdp\ZeroTwo\configs.py", line 9, in
API_ID = int(os.getenv("13937340"))
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
how to fix?