discord bot

I want to deploy a discord bot, i have the template for my token setup how do i add my code (python)?

Solved

0 Replies

7 months ago

You can add it through CLI or through GitHub (preferred way), do you have your code stored on GitHub?


i do yes


on github


7 months ago

then just go to and select the discord bot



this one?


7 months ago

that looks like a template


7 months ago

I think you're trying to deploy your own code right?


yes


7 months ago

on dev.new, select "Deploy from a GitHub repo"


7 months ago

then select your Discord bot


7 months ago

(requires you to be logged in btw)


oh yeah i see now


it was bugging


it wouldnt connect


i refreshed now it does


7 months ago

oh neat


i add the token here?

1353047344911745000


7 months ago

yea, that's equivelant to .env in your local files


7 months ago

so all secrets and tokens and such goes in there


nice! thank you so much


7 months ago

np!!!


There was an error deploying from source.


huh?


cause of limited trial?


7 months ago

oh yea that would do it


7 months 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


7 months ago

unfortunately you'll have to upgrade to hobby plan to deploy code on Railway


why is that?


i mean i understand but



all this and still not legit user


7 months ago

The trial plan requirements are not shared with users. It’s likely based on your Github activity, though


7 months ago

if you want to deploy your app, you will need to upgrade to hobby


yeah i will find an other provider or host it local, this is too much of a struggle


but thx


7 months ago

😔 alright


7 months ago

good luck!!!


7 months ago

!s


Status changed to Solved dev 7 months ago


7 months ago

discord bot