Reputation: 549
I was learning Heroku and how to make a discord bot. I made the bot, I tested it and now I need to deploy it on Heroku. The bot has an 8ball command that uses random for choosing a random answer. I added random to requirements.txt, but when I push it I get this error:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https:(my git)'.
It never happened when I only had discord.py there.
My requirements.txt
discord.py
random
My Procfile
worker: python FirstBot.py
Upvotes: 0
Views: 147
Reputation: 599836
random
is not a package that you install. It is part of the standard library. Remove it from the requirements.txt.
Upvotes: 2