2 years 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
2 years ago
You can add it through CLI or through GitHub (preferred way), do you have your code stored on GitHub?
2 years ago
i do yes
2 years ago
on github
2 years ago
then just go to and select the discord bot
2 years ago

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

2 years ago
yea, that's equivelant to .env in your local files
2 years ago
so all secrets and tokens and such goes in there
2 years ago
nice! thank you so much
2 years ago
np!!!
2 years ago
There was an error deploying from source.
2 years ago
huh?
2 years ago
cause of limited trial?
2 years ago
oh yea that would do it
2 years 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
2 years ago
unfortunately you'll have to upgrade to hobby plan to deploy code on Railway
2 years ago
why is that?
2 years ago
i mean i understand but
2 years ago

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