Is your feature request related to a problem? Please describe.
Update Yappathon Cog to use the new async requests functions in api_helper. We are moving away from blocking requests.
Describe the solution you have in mind.
I updated the requests functions to use the bot's own aiohttp ClientSession. You can see these in the async-yappathon branch. PR will await the update so that nothing breaks.
The functions changed are:
- get_one_setting
- get_one_role
- get_monthly_points
- monthly_top_point_earner
- monthly_top_10
- reset_monthly_points
- get_parameter
Describe alternatives you've considered
None
Additional context
None
Is your feature request related to a problem? Please describe.
Update Yappathon Cog to use the new async requests functions in
api_helper. We are moving away from blocking requests.Describe the solution you have in mind.
I updated the requests functions to use the bot's own aiohttp ClientSession. You can see these in the async-yappathon branch. PR will await the update so that nothing breaks.
The functions changed are:
Describe alternatives you've considered
None
Additional context
None