#๐ hey, I wrote a music discord bot I wanna see if it's functional to use?
141 messages ยท Page 1 of 1 (latest)
@misty tinsel
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.
can you not run it?
It's money to run it as I just wanna see if I can run it without spending the money first
you can run it on your own pc
Click here to see this code in our pastebin.
im guessing this was made with chatgpt?
Nope
# Bot token - replace with your actual token
TOKEN = 'YOUR_BOT_TOKEN'
๐ฅ
Oh yea I was helping my friend code earlier and forgot to remove that
There might be a couple things there but it should be all good?
you can run a bot for free online, I think replit has limited hosting
Please react with โ
to upload your file(s) to our paste bin, which is more accessible for some users.
This one is fixed
Could u send me a link?
and paste your code their and run
btw making a .env is reccomended
now create a project
now create a python file and name it whatever you want
send a screen shot
get out of their "AI" window
try clicking the computer icon on the bottom
How exactly?

yeah go to terminal and run python main.py
or whatever the file is called
also get your bot token if not already
Ok I need to go rq I'll be on tmr can u not close this pls
It auto closes after inactivity
inactivity is an hour
sure ping me
in one of the windows?
It's a phone so idk really. Maybe click another button on the bottom?
I can't find the terminal bit
screen shot
click run then
I did
why are you sending that this is not off-topic
on the bottom left corner?
can you send recording of you pressing all the buttons?
I can in a sec I'm just dealing with something in my discord I'll be a sec
@ember parrot
in the search thing press shell
that has the terminal
you already pasted your code in a file right?
if so do python filename.py
no
noooooooo
@misty tinsel
that is bad
ok follow these instructions
in the shell do mkdir main.py
Command not found
Ok
ok the thing is replit does not allow file editing
Ok make an account, Ill make a repository with the code ok?
and then Ill give you ownership
@misty tinsel
Got it
!ytdl @misty tinsel @slender wagon @ember parrot
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
What
Where has the guy gone?
what?
ah
Oh yay your back
@misty tinsel I did not look at the code yet and it is a violation of TOS
yes I was busy for a while
Oh
It's alr
Oh
Dang it
So I can't use it?
@ember parrot
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
no just close the post
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.