I suggest changing the requirement from discord.py to py-cord as d.py is no longer being maintained.
Note: py-cord is close to releasing a 2.0 version which has breaking changes, but their current PyPi version should be a drop-in replacement for d.py