Skip to content

feat: Implement Community Invites#3044

Open
Paillat-dev wants to merge 24 commits intomasterfrom
feat/community-invites-api
Open

feat: Implement Community Invites#3044
Paillat-dev wants to merge 24 commits intomasterfrom
feat/community-invites-api

Conversation

@Paillat-dev
Copy link
Member

@Paillat-dev Paillat-dev commented Dec 26, 2025

Summary

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 Dec 26, 2025

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/3044/head:pr-3044
git checkout pr-3044

This pull request can be installed with:

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

@Paillat-dev Paillat-dev added priority: low Low Priority hold: documentation This pull request is missing documentation upcoming discord feature Involves a feature not yet fully released by Discord hold: changelog This pull request is missing a changelog entry hold: testing This pull request requires further testing labels Dec 26, 2025
@Paillat-dev Paillat-dev added this to the v2.7.1 milestone Dec 26, 2025
@EmmmaTech
Copy link
Contributor

am scared...

@Soheab
Copy link
Contributor

Soheab commented Dec 29, 2025

Branch name exposed you

@Paillat-dev
Copy link
Member Author

Paillat-dev commented Jan 13, 2026

@Paillat-dev Paillat-dev changed the title feat: 👀 feat: Implement Community Invites Jan 13, 2026
@Paillat-dev Paillat-dev modified the milestones: v2.7.1, v2.8 Jan 13, 2026
@Paillat-dev Paillat-dev added the API reflection Discord API isn't correctly reflected label Jan 13, 2026
@Paillat-dev
Copy link
Member Author

Lol the commit is 3 weeks old I got it bang on 😆 . Still have to implement the csv stuff tho.

@Paillat-dev Paillat-dev removed the upcoming discord feature Involves a feature not yet fully released by Discord label Jan 25, 2026
@Paillat-dev
Copy link
Member Author

Note

Updating the target users list does not work yet and fails with HTTPException: 400 Bad Request (error code: 40115): Target users file has not been processed for some reason


async def json_or_text(response: aiohttp.ClientResponse) -> dict[str, Any] | str:
text = await response.text(encoding="utf-8")
async def json_or_text(
Copy link
Member Author

Choose a reason for hiding this comment

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

This could maybe be renamed, give ideas

@Paillat-dev Paillat-dev marked this pull request as ready for review January 28, 2026 10:30
@Paillat-dev Paillat-dev requested review from a team as code owners January 28, 2026 10:30
Soheab
Soheab previously approved these changes Jan 28, 2026
Copy link
Contributor

@Soheab Soheab left a comment

Choose a reason for hiding this comment

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

LGTM code-wise.

@Paillat-dev
Copy link
Member Author

@Lumabots When you have some free time you can mess around around with this, see the example for details on the target users stuff, there's also the roles field for create_invite.

@Lumabots
Copy link
Contributor

@Lumabots When you have some free time you can mess around around with this, see the example for details on the target users stuff, there's also the roles field for create_invite.

I will not have free time until next Tuesday

@Paillat-dev
Copy link
Member Author

I will not have free time until next Tuesday

It's ok, this targets 2.8 anyways

Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com>
Signed-off-by: Paillat <jeremiecotti@ik.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API reflection Discord API isn't correctly reflected hold: testing This pull request requires further testing PA: All Contributors pending priority: low Low Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants