#bot not starting and project always errors after building and deploying

9 messages · Page 1 of 1 (latest)

heady radish
#

hi so i'm hosting my discord bot on railway and i've done it before and before it worked great but now whenever it's done building and deploying, it keeps giving me an error even though i did everything right.

#

i also code on gitpod

#

and this is the errors

#

idk what to do cuz it worked fine last time

ivory stratus
#

even on your gitpod environment it looks like your bot failed to start

#

due to some missing file error

heady radish
#

the file is there though

#

and its defined here in my code

bot = lightbulb.BotApp(
    token=os.getenv("TOKEN"),
    banner="assets",
    help_slash_command=True,
    ignore_bots=True,
    intents=hikari.Intents.ALL,
)```