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

Add role subscription relevant attributes #938

Open
ooliver1 opened this issue Dec 8, 2022 · 1 comment · May be fixed by #940
Open

Add role subscription relevant attributes #938

ooliver1 opened this issue Dec 8, 2022 · 1 comment · May be fixed by #940
Labels
p: medium Priority: medium - should be worked on in the near future s: stalled Status: the issue is stalled by other issues t: api coverage Type: api coverage - this adds code to cover the discord API

Comments

@ooliver1
Copy link
Member

ooliver1 commented Dec 8, 2022

Summary

The recent addition of role subscriptions

What is the feature request for?

The core library

The Problem

Nextcord should support role subscription message types, guild features and role tags attributes.

The Ideal Solution

Add MessageType.role_subscription_purchase.

def system_content(self):

class MessageType(IntEnum):

Document guild features ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE, ROLE_SUBSCRIPTIONS_ENABLED.
GuildFeature = Literal[

features: List[:class:`str`]

Add RoleTag.subscription_listing_id, available_for_purchase
def __init__(self, data: RoleTagPayload):

The Current Solution

No response

Additional Context

discord/discord-api-docs#5724

@ooliver1 ooliver1 added p: medium Priority: medium - should be worked on in the near future help wanted Anyone is free to help, the issue shouldn't be *too* hard. t: api coverage Type: api coverage - this adds code to cover the discord API labels Dec 8, 2022
@Soheab Soheab linked a pull request Dec 8, 2022 that will close this issue
7 tasks
@EmreTech EmreTech added s: stalled Status: the issue is stalled by other issues t: api coverage Type: api coverage - this adds code to cover the discord API and removed t: api coverage Type: api coverage - this adds code to cover the discord API help wanted Anyone is free to help, the issue shouldn't be *too* hard. labels Dec 9, 2022
@EmreTech EmreTech linked a pull request Dec 9, 2022 that will close this issue
7 tasks
@Soheab
Copy link
Contributor

Soheab commented Jan 22, 2023

Relevant discord api docs commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: medium Priority: medium - should be worked on in the near future s: stalled Status: the issue is stalled by other issues t: api coverage Type: api coverage - this adds code to cover the discord API
Projects
No open projects
Status: In Cycle
Development

Successfully merging a pull request may close this issue.

3 participants