bryanforbes / discord.py-stubs

discord.py stubs
BSD 3-Clause "New" or "Revised" License
46 stars 12 forks source link

Incorrect type stub for fetch_members #63

Closed dob9601 closed 3 years ago

dob9601 commented 3 years ago

Method is marked as async here, when in fact it is a synchronous method within discord.py. See here

bryanforbes commented 3 years ago

Thanks. I imagine I did that because the docs have it marked as |coro|. I'll fix that on master. Do you need it fixed for a previous version?

dob9601 commented 3 years ago

Nope, for now I've just told my linter to ignore the type

bryanforbes commented 3 years ago

I went ahead and created a new release for the 1.6 stub files