Reputation: 564
I am creating a Discord bot. I use Heroku to run it for 24/7. When I deploy it, it does not go online.
I used discord
library (discord.py
).
My codes are in my GitHub repository. Here: https://github.com/rohattunaciftci/sectorvpython
Upvotes: 1
Views: 1069
Reputation: 180
try to edit the requirements.txt
from discord.py=='0.16.12' to discord.py==0.16.12
for instance, cx_Freeze=='5.1.1' this line won't work, but cx_Freeze==5.1.1 on the other hand will.
I guess it reads the file as a string and the pip converts the value after the '==' to numbers or just save as it. when you add '' it won't match the results
" '5' " != "5"
Upvotes: 2