Skip to content
Sign UpLog In
Profile icon

Cinzig

@Cinzig
Repls
Community
Cinzig
Cinzig
published an Update
11 months ago
0
cinzigs 24/7 radio bot script
cinzigs 24/7 radio bot script
I am new to coding and was wondering what's wrong with this script.
I've been trying to make a 24/7 radio music bot for discord, and I was remixing a script, but it won't work.
Cinzig
Cinzig
shared a Post
1 year ago
So I am really new to coding and I was trying to code a Discord bot but It won't go online. The tutorial I am watching is outdated meaning there is a
Hoovy Bot python
Python
MrJulmust
MrJulmust
A little late but you first need to type "TOKEN = os.environ['tokenname']" and then "client.run(TOKEN)". That worked for me7 months ago
Cinzig
Cinzig
I did that but sadly it is still not working because there is something wrong with the os.getenv line of code probably because I made a secret and originally was a .env file.1 year ago
connor
connor
To add a secret, click the padlock icon on the left-hand side of the editor, and enter the word TOKEN (all in capitals) in the key section; your bot token in the value section, and then click Add new secret. .env files are deprecated, meaning you can remove your .env file.1 year ago