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: Rename 'cover' to 'image' in relation to ScheduledEvent #2496

Closed Icebluewolf closed 1 month ago

Icebluewolf commented 1 month ago

Summary

Renames the cover property of ScheduledEvent to image. Renames the cover argument of ScheduledEvent.edit to image.

This is to be consistent with the API as well as other ScheduledEvent related naming. This contains breaking changes to private and undocumented features.

I think this also fixes an issue where the image was unable to be removed (only changed) via the ScheduledEvent.edit method.

Closes #2010

Information

Checklist