Closed pythonmcpi closed 5 months ago
discord.py 2.4 updates the get_translated_payload and to_dict method signatures for application commands, making the CommandTree a required parameter.
get_translated_payload
to_dict
Support the new function signatures without breaking backwards compatibility with discord.py <= 2.3
Supersedes #230
as discord.py version 2.4 released recently this can be merged as confirmed.
and if this gets merged
pr 230 can be closed too.
Rationale
discord.py 2.4 updates the
get_translated_payload
andto_dict
method signatures for application commands, making the CommandTree a required parameter.Summary of changes made
Support the new function signatures without breaking backwards compatibility with discord.py <= 2.3
Supersedes #230
Checklist