error when deploy discord bot
I'm trying to publish my bot for discord, which is written in Python through a repository on Github, but I get the error "Cannot read properties of undefined (reading 'id')", but when I run it locally, the bot works, how can I fix this?
original:
Я пытаюсь опубликовать своего бота для дискорда который написан на пайтоне через репозиторий на гитхабе но получаю ошибку "Cannot read properties of undefined (reading 'id')", но когда запускаю локально - бот работает, как это исправить?
![No description](https://cdn.answeroverflow.com/1197199458056818819/2024-01-17_172311181.png)
36 Replies
Project ID:
N/A
that is very strange 🤔
how to fix this? 🥹🥲
Is there any subfolder in your github repo where main code is there
in my repository the following files: folder: pycache, file: procfile. requirements, script.py and runtime.txt
в моем репозитории такие файлы: папка: pycache, файли: procfile. requirements, script.py and runtime.txt
It should be requirements.txt i guess
What exactly?
Means the dependencies should be in requirements.txt instead of requirements, I don't know what is the actual extension on your side but as you written requirements only without specifying the extension that's why i told
Sorry, I have a requirements.txt file
![No description](https://cdn.answeroverflow.com/1197206279970631862/image.png)
It's quite confusing, i thought you are also facing the same problem as i was facing few hours before, but it's different
Sorry
maybe you know who can help?
This is a railway issue, wait a few minutes and try again
I've been trying for several weeks now
Please walk me through the steps of what you're doing to get this error