I followed all the steps in both the video on how to setup the ranking bot and how to make the quiz but the bot isn’t ranking the user.
Heroku Logs:
2022-05-31T17:58:59.233992+00:00 app[web.1]: INFO: Started server process [11]
2022-05-31T17:58:59.234003+00:00 app[web.1]: INFO: Started server process [10]
2022-05-31T17:58:59.234020+00:00 app[web.1]: INFO: Waiting for application startup.
2022-05-31T17:58:59.234039+00:00 app[web.1]: INFO: Waiting for application startup.
2022-05-31T17:58:59.234197+00:00 app[web.1]: INFO: Application startup complete.
2022-05-31T17:58:59.234235+00:00 app[web.1]: INFO: Application startup complete.
2022-05-31T17:58:59.545909+00:00 heroku[web.1]: State changed from starting to up
2022-05-31T17:59:05.000000+00:00 app[api]: Build succeeded
2022-05-31T17:59:28.303976+00:00 app[web.1]: INFO: 131.150.199.217:0 - "GET / HTTP/1.1" 404 Not Found
2022-05-31T17:59:28.305417+00:00 heroku[router]: at=info method=GET path="/" host=roblox-ranking-thing.herokuapp.com request_id=0703879e-e441-49c8-bad0-ca7ef1a79a46 fwd="131.150.199.217" dyno=web.1 connect=0ms service=1ms status=404 bytes=173 protocol=https
^That’s before I do the quiz^
VThis is After i do the quizV
2022-05-31T18:16:39.047277+00:00 app[web.1]: await target.setrole(role_number)
2022-05-31T18:16:39.047277+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/ro_py/groups.py", line 490, in setrole
2022-05-31T18:16:39.047277+00:00 app[web.1]: return await self.setrank(rank_role.id)
2022-05-31T18:16:39.047278+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/ro_py/groups.py", line 461, in setrank
2022-05-31T18:16:39.047278+00:00 app[web.1]: rank_request = await self.requests.patch(
2022-05-31T18:16:39.047278+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/ro_py/utilities/requests.py", line 99, in patch
2022-05-31T18:16:39.047279+00:00 app[web.1]: return await self.request("patch", *args, **kwargs)
2022-05-31T18:16:39.047279+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.10/site-packages/ro_py/utilities/requests.py", line 78, in request
2022-05-31T18:16:39.047279+00:00 app[web.1]: raise request_exception(f"[{this_request.status_code}] {get_request_error[0]['message']}")
2022-05-31T18:16:39.047280+00:00 app[web.1]: ro_py.utilities.errors.Unauthorized: [401] Authorization has been denied for this request.