#๐ Terminal not working
29 messages ยท Page 1 of 1 (latest)
@odd torrent
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.
your code probably has nothing in it then
you might've created a function or class but never called or instantiated it
imported a module and never used it
but more than likely, you just have nothing writing to stdout
(no print statements were run)
show your code
I'm trying to activate the discord bot
have you save your code? <Ctrl + S>
also two things:
- it's usually better to share your code as text
- you can hide your token by putting it in a separate file and then using
open("token.txt").read()to obtain its contents
*2: You should just use environment variable instead
Now I saved it and it gives an error like this: @daring gazelle @dusty scroll
don't ping me as my name descripted
let me find the github issue
but 3.13 have issue with discord.py currently
You need to install the audioop-lts package with pip
!pypi audioop-lts should fix this
or use python 3.12 instead
am how do it
Like how you install discord.py, just different library
pip install audioop-lts
It is funny how they fixed this dependency issue 6 month before but because they haven't made a release, it still has the issue
Thank you, I activated the bot
!cloese
!close
!close
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.