a year ago
I want to deploy a discord bot, i have the template for my token setup how do i add my code (python)?
40 Replies
a year ago
You can add it through CLI or through GitHub (preferred way), do you have your code stored on GitHub?
a year ago
i do yes
a year ago
on github
a year ago
then just go to and select the discord bot
a year ago

a year ago
this one?
a year ago
that looks like a template
a year ago
I think you're trying to deploy your own code right?
a year ago
yes
a year ago
on dev.new, select "Deploy from a GitHub repo"
a year ago
then select your Discord bot
a year ago
(requires you to be logged in btw)
a year ago
oh yeah i see now
a year ago
it was bugging
a year ago
it wouldnt connect
a year ago
i refreshed now it does
a year ago
oh neat
a year ago
i add the token here?

a year ago
yea, that's equivelant to .env in your local files
a year ago
so all secrets and tokens and such goes in there
a year ago
nice! thank you so much
a year ago
np!!!
a year ago
There was an error deploying from source.
a year ago
huh?
a year ago
cause of limited trial?
a year ago
oh yea that would do it
a year ago
you get placed on limited trial when Railway cannot verify your account's legitimacy, to protect them from potential spammers they need to make sure the accounts using railway on trial are legit otherwise railway could lose a lot of money
it seems your github account doesn't have enough info to verify that you're a legit user
a year ago
unfortunately you'll have to upgrade to hobby plan to deploy code on Railway
a year ago
why is that?
a year ago
i mean i understand but
a year ago

a year ago
all this and still not legit user
a year ago
The trial plan requirements are not shared with users. It’s likely based on your Github activity, though
a year ago
if you want to deploy your app, you will need to upgrade to hobby
a year ago
yeah i will find an other provider or host it local, this is too much of a struggle
a year ago
but thx
a year ago
😔 alright
a year ago
good luck!!!
a year ago
!s
Status changed to Solved dev • 12 months ago
a year ago
discord bot