I am trying to host my discord bot (coded in Python) on Heroku, but I am facing this error. How do I correctly include the json package in requirements.txt?
bot.py file
from discord.ext import commands
import json
def get_prefix(client, message):
with open("prefixes.json", "r") as f:
prefixes = json.load(f)
return prefixes[str(message.guild.id)]
requirements.txt file
git+https://github.com/Rapptz/discord.py
dnspython==1.16.0
PyNaCl==1.3.0
async-timeout==3.0.1
json==1.0.0