#🔒 what can i do
68 messages · Page 1 of 1 (latest)
@pine mica
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
i am devoloping a discord bot
and i cant find the solution of it
i posted it in right format also
still not working
can anyone pls help me by giving me a vid
no im saying
reset it
because you just exposed it
so now it's compromised
and then after that, show me the contents of tipcc.py
DN
?
DONE
you also dont need to use caps
i honestly don't see anything wrong with this
me personally, i'd just use a JSON file and call it a day
me also
also just to note, you said "owner ID" then put a username
you didn't save your .env file
i saved
oh yeah
no, there's a circle in its tab. that tells me it's not saved.
there's a 1 in the corner which means you didnt save your files
tell me
oh
File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\http.py", line 828, in static_login
data = await self.request(Route('GET', '/users/@me'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\site-packages\discord\http.py", line 762, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
showing this
you mentioned that you reset your token. did you paste in the new one?
after you reset your token, the old one won't work anymore.
oh i forgot
if it was an invalid token, that would result in an improper token error by discord.py
oh
!paste - show your whole code @pine mica
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
why code
you can change load_dotenv() to assert load_dotenv() to see if the environment variables are being loaded
oops
i didnt see the rest of the thread
mb
no problem
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.
