R
Railway•12mo ago
bloom

problem was fixed now getting a new one

/bin/bash: line 1: rafflebot: command not found
/bin/bash: line 1: rafflebot: command not found
I am now getting this in deployment messages
33 Replies
Percy
Percy•12mo ago
Project ID: N/A
bloom
bloomOP•12mo ago
its just repeating this
bin/bash: line 1: rafflebot: command not found
bin/bash: line 1: rafflebot: command not found
@Adam didnt wanna bother or alert you. Just had a problem wondering if u know what this is
Adam
Adam•12mo ago
What did you set your start command to?
bloom
bloomOP•12mo ago
as in the discord command it was /startraffle
Adam
Adam•12mo ago
No, the start command in Railway. How you start your app Please head to your build logs and download them using this bookmarklet https://bookmarklets.up.railway.app/log-downloader/
bloom
bloomOP•12mo ago
No description
bloom
bloomOP•12mo ago
im a moron thank u so much
Adam
Adam•12mo ago
huh? No, you have to have your build logs open when you use the bookmarklet You just didn't have your deployment open
bloom
bloomOP•12mo ago
like this
Adam
Adam•12mo ago
Those are your deployment logs, please send your build logs
Adam
Adam•12mo ago
Did you set a custom start command? If so, delete it
bloom
bloomOP•12mo ago
i dont think so
Adam
Adam•12mo ago
No description
Adam
Adam•12mo ago
This is custom Is this how you launch your app locally?
bloom
bloomOP•12mo ago
No description
bloom
bloomOP•12mo ago
i laucnh the app locally thru vsc
Adam
Adam•12mo ago
Please send your repo
bloom
bloomOP•12mo ago
GitHub
GitHub - Lesinthegit/rafflebot
Contribute to Lesinthegit/rafflebot development by creating an account on GitHub.
bloom
bloomOP•12mo ago
im currently logged in on a clients github
Adam
Adam•12mo ago
Rename rafflebot discor.py to main.py And remove the bot token from the file, you really should be using environment variables to keep it safe Especially on a public repo
bloom
bloomOP•12mo ago
agreed haha i just reset the token if i do anything with it
Adam
Adam•12mo ago
It did not. Did you rename the file?
bloom
bloomOP•12mo ago
i did yes the .py is now main.py
Adam
Adam•12mo ago
and is it working?
bloom
bloomOP•12mo ago
jus checking now i restarted the whole thing interesting /bin/bash: line 1: ./main.py: Permission denied i changed the proctfile as well to match the py idk if thats why
Adam
Adam•12mo ago
You privated the repo so I can't debug that, but I'm assuming that your start command in your Procfile is wrong it should be python main.py
bloom
bloomOP•12mo ago
that fixed it thank u
Adam
Adam•12mo ago
no prob
bloom
bloomOP•12mo ago
No description
bloom
bloomOP•12mo ago
ur a life saver have a good one 🙂
Adam
Adam•12mo ago
You too
Want results from more Discord servers?
Add your server