Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removal!: deprecations from 2.0 #1129

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

EmreTech
Copy link
Collaborator

Summary

This PR removes all deprecations from 2.x.

What has been removed:

  • BaseApplicationCommand
    • check_against_raw_payload -> is_payload_valid
    • get_guild_payload -> get_payload(guild_id)
    • global_payload -> get_payload(None)
  • Client
    • persistent_views -> views(persistent=True)
    • deploy_application_commands -> discover_application_commands
    • delete_unknown_application_commands -> sync_application_commands
    • associate_application_commands -> sync_application_commands
    • update_application_commands -> sync_application_commands
    • add_startup_application_commands -> add_all_application_commands
    • rollout_application_commands -> sync_application_commands
  • Embeds
    • EmptyEmbed -> None
    • Embed.Empty -> None
  • Guild/Member.ban
    • delete_message_days -> delete_message_seconds

@EmreTech EmreTech added p: high Priority: high - should be worked on as soon as reasonable s: awaiting review Status: the issue or PR is awaiting reviews t: removal Type: removal - something is removed that may have been deprecated previously 3.0 The issue/PR should go for the 3.0 release labels Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 The issue/PR should go for the 3.0 release p: high Priority: high - should be worked on as soon as reasonable s: awaiting review Status: the issue or PR is awaiting reviews t: removal Type: removal - something is removed that may have been deprecated previously
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants