Skip to content

Conversation

@ToothyDev
Copy link
Contributor

Summary

Removes some code that only worked when owners were able to own guilds, since this is no longer the case, the code is now effectively dead

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@pycord-app
Copy link

pycord-app bot commented Jan 2, 2026

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3056/head:pr-3056
git checkout pr-3056

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3056/head

Paillat-dev
Paillat-dev previously approved these changes Jan 3, 2026
@Lulalaby
Copy link
Member

Lulalaby commented Jan 3, 2026

can you also check if we have references to create guild anywhere?

@ToothyDev
Copy link
Contributor Author

can you also check if we have references to create guild anywhere?

Seems to be quite a few, I'll get on it. I probably missed delete stuff there too

Copy link
Member

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️

Copy link
Member

@Paillat-dev Paillat-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

- Removed the `owner` keyword argument from `Guild.edit` as this requires owner
permissions ([#3056](https://github.com/Pycord-Development/pycord/pull/3056))
- Removed `Template.create_guild` and `Client.create_guild` as bots can no longer create
guilds ([#3056](https://github.com/Pycord-Development/pycord/pull/3056))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if we maybe want to be more explicit with the fact that this was removed by Discord themselves ? I personally don't really care either ways.

@Paillat-dev Paillat-dev added this to the v2.7.1 milestone Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants