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

Feature/add guild onboarding #2005

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

syncblaze
Copy link
Contributor

Summary

This PR is supposed to add guild onboarding functionality

Checklist

  • I have run nox and all the pipelines have passed.
  • I have made unittests according to the code I have added/modified/deleted.

Related issues

@syncblaze
Copy link
Contributor Author

syncblaze commented Aug 6, 2024

I've implemented classes & routes
TODO:

  • Add missing AuditLogActionType's
  • Add missing AuditLogChangeKey's
  • Add missing deserilazation for AuditLogChangeKey's
  • Add utility functions in the classes (roles field instead of role_ids, etc) bloat
  • Add special endpoint for GuildOnboarding, making it easier to edit/create guild onboardings (???)
  • Add tests

@syncblaze
Copy link
Contributor Author

Just to make this clear, this is far from finished.

hikari/api/entity_factory.py Outdated Show resolved Hide resolved
hikari/guilds.py Outdated Show resolved Hide resolved
hikari/guilds.py Outdated Show resolved Hide resolved
hikari/guilds.py Outdated Show resolved Hide resolved
hikari/guilds.py Outdated Show resolved Hide resolved
hikari/impl/entity_factory.py Outdated Show resolved Hide resolved
hikari/impl/entity_factory.py Outdated Show resolved Hide resolved
hikari/impl/entity_factory.py Outdated Show resolved Hide resolved
hikari/impl/rest.py Outdated Show resolved Hide resolved
hikari/impl/rest.py Outdated Show resolved Hide resolved
syncblaze and others added 18 commits August 6, 2024 11:03
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
Co-authored-by: davfsa <[email protected]>
Signed-off-by: Blaze <[email protected]>
hikari/guilds.py Outdated Show resolved Hide resolved
@syncblaze
Copy link
Contributor Author

syncblaze commented Aug 6, 2024

Does someone have an idea what the hell this is ? Icouldn't figure out how to do a DROPWDOWN prompt. is this not doable with the guild settings ui and is api only?

@syncblaze
Copy link
Contributor Author

Does someone have an idea what the hell this is ? Icouldn't figure out how to do a DROPWDOWN prompt. is this not doable with the guild settings ui and is api only?

At the moment a Dropdown prompt will be used if you have more then 12 prompts. Its automatically set by discord and cannot be directly changed, only by changing the amount of prompts.

@beagold beagold added the enhancement New feature or request label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants