Help me fix and finish my code to use on Glitch

Hello! For starter, i know nothing of coding and this stuff. I rely on chat gpt
So, i wanted to make a bot to send daily prompts to draw on a discord server, and started using Repl. It worked, but i need the bot to stay awake
and i found Glitch
Though i dont know how to use it. I think i “imported” (sorry for the language, i dont know what terms to use) my old code to github, then managed to make a Glitch port.
But, what do i need to change to make it work? How do i even start the bot from here?
If someone could help me, i would be so grateful
Here you have all the links to the resources

https://github.com/0KidMarii/ArtPrompts (if you need access to the github, please let me know cause i think i have it on private, but everything should be on the Glitch format)

Note that if you need an “always on” service, you will need a Glitch Pro account so you can “boost” your project. Free projects get shut down after a few minutes so are basically useless for things like “sending daily reports”: they won’t be running until you first make them run again, kinda defeating the purpose since you are now the service trigger =)

1 Like

I do know that! Thank you :blush: But i need to know how to finish it and make it work

you would need to get Glitch pro :slight_smile:

add a package.json file with a “start” script to run the bot

1 Like

Omg thank you
Do you have any link on how to do it? Because i got no clue :frowning:
and if you saw my code, do you think it’s good as it is?

1 Like

e.g.

{
  "scripts": {
    "start": "python3 main.py"
  }
}

haven’t really looked at the code. but fyi it’s visible on glitch.