Heroku failed to push some refs

The message I get when I try to do git push heroku master

! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/adirk1.git'

This if how the project's folder looks like

enter image description here

CMD code:

C:\Users\adirk\PycharmProjects\DisocrdBot>git commit -am "g"
[master 7674e73] g
 5 files changed, 29 insertions(+)
 create mode 100644 .idea/.gitignore
 create mode 100644 .idea/DisocrdBot.iml
 create mode 100644 .idea/inspectionProfiles/profiles_settings.xml
 create mode 100644 .idea/misc.xml
 create mode 100644 .idea/modules.xml

C:\Users\adirk\PycharmProjects\DisocrdBot>git add .

C:\Users\adirk\PycharmProjects\DisocrdBot>git push heroku master
Enumerating objects: 23, done.
Counting objects: 100% (23/23), done.
Delta compression using up to 12 threads
Compressing objects: 100% (20/20), done.
Writing objects: 100% (23/23), 4.59 KiB | 1.53 MiB/s, done.
Total 23 (delta 5), reused 0 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Using buildpack: heroku/python
remote: -----> Python app detected
remote: -----> No Python version was specified. Using the buildpack default: python-3.10.4
remote:        To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> Installing python-3.10.4
remote: -----> Installing pip 22.0.4, setuptools 60.10.0 and wheel 0.37.1
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote:        Collecting git+https://github.com/Rapptz/discord.py@rewrite (from -r /tmp/build_4e19d0ed/requirements.txt (line 1))
remote:          Cloning https://github.com/Rapptz/discord.py (to revision rewrite) to /tmp/pip-req-build-4yu90pj4
remote:          Running command git clone --filter=blob:none --quiet https://github.com/Rapptz/discord.py /tmp/pip-req-build-4yu90pj4
remote:          WARNING: Did not find branch or tag 'rewrite', assuming revision or ref.
remote:          Running command git checkout -q rewrite
remote:          error: pathspec 'rewrite' did not match any file(s) known to git
remote:          error: subprocess-exited-with-error
remote:
remote:          × git checkout -q rewrite did not run successfully.
remote:          │ exit code: 1
remote:          ╰─> See above for output.
remote:
remote:          note: This error originates from a subprocess, and is likely not a problem with pip.
remote:        error: subprocess-exited-with-error
remote:
remote:        × git checkout -q rewrite did not run successfully.
remote:        │ exit code: 1
remote:        ╰─> See above for output.
remote:
remote:        note: This error originates from a subprocess, and is likely not a problem with pip.
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to adirk1.
remote:
To https://git.heroku.com/adirk1.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/adirk1.git'

C:\Users\adirk\PycharmProjects\DisocrdBot>

Any idea what's the problem?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum