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

Complete guild object #270

Closed
Commandserver opened this issue Feb 11, 2022 · 4 comments
Closed

Complete guild object #270

Commandserver opened this issue Feb 11, 2022 · 4 comments
Labels

Comments

@Commandserver
Copy link
Member

Is your feature request related to a problem? Please describe.
Some fields like premium_progress_bar_enabled... in dpp::guild are missing

Describe the solution you'd like
to add them

Additional context
Official discord resource:
https://discord.com/developers/docs/resources/guild#guild-object

@braindigitalis
Copy link
Contributor

braindigitalis commented Feb 11, 2022

they're not missing they're compressed into the flags

@Commandserver
Copy link
Member Author

am i right that premium_progress_bar_enabled, guild_scheduled_events, stickers, stage_instances and preferred_locale are missing?
guild object

@braindigitalis
Copy link
Contributor

braindigitalis commented Mar 2, 2022

I have no plans to add any extra lists like stickers and stage instances, scheduled events etc to the guild structure.

we have to consider the size of the guild structure and that it's multiplied up by however many guilds you are on. For a big bot this is hundreds megs because we are also then caching the stickers, guild scheduled events, etc. there are API calls in DPP to get these lists.

I'm pretty sure a lot of the flag stuff like premium progress bar is stuffed into flags, if not this is where it belongs.

@braindigitalis
Copy link
Contributor

hmm, I wonder if it's possible to just add lists of the snowflake IDs like we do for emojis...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants