hikari-py / hikari

A Discord API wrapper for Python and asyncio built on good intentions.
https://docs.hikari-py.dev/en/stable
MIT License
810 stars 95 forks source link

Add helpful methods to entities #400

Open davfsa opened 3 years ago

davfsa commented 3 years ago

All the objects under the root project (ie, channels.py, guilds.py, and similar) should maybe provide helpful methods to call either app.cache or app.rest while filling in the known arguments.

Going down this path might lead to "wrong" coding practices like guild.get_channel().send_message(). We should consider a nicer approach to this or remove "helpful methods" entirely.

ddjerqq commented 1 year ago

can I get more info about this? I'm interested in contributing to this repo

davfsa commented 1 year ago

The description is missing from when the issue was transferred from the old repository I believe. Filled in!

Thank you for showing interest in the project <3

ddjerqq commented 1 year ago

which method do you need implemented?

davfsa commented 1 year ago

Someone would have to go around and check which ones specifically, as (as far as I am aware), there is no list anywhere. Sorry!