Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.71k stars 459 forks source link

fix: remove_application_command missing case #2480

Closed Dorukyum closed 2 months ago

Dorukyum commented 2 months ago

Summary

The current implementation of CogMixin.remove_application_command ignores the fact that commands with IDs (synchronised commands) stay in the list of pending commands. The new implementation takes this into account.

This intends to fix #1383, requires testing.

Information

Checklist

Dorukyum commented 2 months ago

Tested and added a changelog entry.