HuyaneMatsu / hata

Async Discord API wrapper.
https://www.astil.dev/project/hata/
Other
182 stars 20 forks source link

[Feature request] ApplicationCommand.__hash__ for partial instances #82

Closed HuyaneMatsu closed 2 years ago

HuyaneMatsu commented 2 years ago

Summary

ApplicationCommand.__hash__ should work partial instances as well.

Ideal Solution

Produce hash value based on fields which are allowed for partial application commands.

Use case code

application_commands = [*{*application_commands}]

Alternative solutions

Write the logic outside the library.

Additional Context

No response

HuyaneMatsu commented 2 years ago

Resolved, coming next update.