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

Support Onboarding and Server Guide in Audit Log Events #6041

Merged
merged 11 commits into from
May 16, 2024

Conversation

Puncher1
Copy link
Contributor

@Puncher1 Puncher1 commented Apr 1, 2023

This PR adds following new audit log events related to Guild Onboarding:

  • ONBOARDING_QUESTION_CREATE for value 163
  • ONBOARDING_QUESTION_UPDATE for value 164
  • ONBOARDING_UPDATE for value 167
  • SERVER_GUIDE_CREATE for value 190
  • SERVER_GUIDE_UPDATE for value 191

@Puncher1 Puncher1 marked this pull request as draft April 1, 2023 13:19
@Puncher1 Puncher1 changed the title Add GUILD_ONBOARDING_UPDATE to Audit Log Events Support Onboarding in Audit Log Events Apr 1, 2023
@Puncher1 Puncher1 marked this pull request as ready for review April 1, 2023 13:40
DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request Apr 2, 2023
@owocado
Copy link

owocado commented Apr 8, 2023

add ONBOARDING_CREATE for value 166 too

@Puncher1
Copy link
Contributor Author

Puncher1 commented Apr 8, 2023

add ONBOARDING_CREATE for value 166 too

Can't reproduce that. What I can reproduce is

  • SERVER_GUIDE_CREATE for value 190
  • SERVER_GUIDE_UPDATE for value 191

@Puncher1 Puncher1 changed the title Support Onboarding in Audit Log Events Support Onboarding and Server Guide in Audit Log Events Apr 8, 2023
LordOfPolls added a commit to interactions-py/interactions.py that referenced this pull request Apr 11, 2023
LordOfPolls added a commit to interactions-py/interactions.py that referenced this pull request Apr 11, 2023
* feat: add audit new mod events to audit log enum

* feat: add onboarding related events

see discord/discord-api-docs#6041
LordOfPolls added a commit to interactions-py/interactions.py that referenced this pull request Apr 22, 2023
* feat: support regex component callbacks (#1332)

* feat: support regex component callbacks

* docs: document regex matching component callback

* ci: correct from checks.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore: switch to MIT license (#1334)

* chore: switch to MIT license

* ci: correct from checks.

* docs: update license through github 

Uses githubs own license tools so the correct license is detected

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: add audit events (#1335)

* feat: add audit new mod events to audit log enum

* feat: add onboarding related events

see discord/discord-api-docs#6041

* refactor: change log level of missing value to warning (#1339)

Lets not scare people with "error"s ay?

* feat: add missing message types (#1338)

* feat: add missing message types

* feat: add deletable message types helper

* build: correct manifest

* feat: support avatar decorations (#1329)

* build: mirrored publish to d.py-interactions and interactions.py (#1336)

* style: add newline to end of manifest

* ci: fix migration issues in integration test bot

* fix: copy checks when inheriting (#1342)

Co-authored-by: Astrea49 <25420078+Astrea49@users.noreply.github.com>

* feat: cooldown upgrades (#1323)

* docs: add changelog page

* style: add EOF newline

* docs: add 5.1.0 to changelog.md

* style: remove trailing whitespace

* fix: reintroduce imports at namespace linter removed

* feat: sync improvements (#1328)

* refactor: improve readability of sync logic

* fix: improve initial sync caching

* docs: add docstring to update_command_cache

* feat: add command deletion to debug ext

* feat: rate limit improvements  (#1321)

* fix: refactor all http routes to generate buckets properly

* fix: resolve routes regex missed

* feat: allow concurrent api calls from the same bucket

* feat: restore bucketLock.locked property

* feat: further bucketlock improvements

* feat: allow bucketlock blocking to be toggled

* refactor: resolve ruff compliant

* fix: correct webhook http

* fix: wrong check condition in the component callback (#1352)

* fix: error when dispatch component callback (#1351)

* docs: adjust and fix many parts of the docs (#1353)

* docs: adjust and fix many parts of the docs

* docs: add note about event object for v4 migration

* docs: replace more instances of InteractionContext

---------

Co-authored-by: Astrea49 <25420078+Astrea49@users.noreply.github.com>

* feat: caching improvements (#1350)

* feat: add support for force fetching

* feat: track if a user object has been fetched

* feat: add force flag to client helper methods

* feat: update all cache fetch methods to have  a force param

* feat: add reset_with_key and get_cooldown_time_with_key (#1345)

* made get_cooldown_with_key async for consistency, added reset_with_key and get_cooldown_time_with_key

* ci: correct from checks.

* fixed pre-commit problems

* comment on #1345, resolved

* made Cooldown.reset_all async #1345

* bot.load => bot.load_extension

* reverted 8217f4e

* made get_cooldown_time_with_key and reset_with_key sync

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Astrea <25420078+AstreaTSS@users.noreply.github.com>
Co-authored-by: Astrea49 <25420078+Astrea49@users.noreply.github.com>
Co-authored-by: Damego <damego.dev@gmail.com>
Co-authored-by: chronosirius <73508925+chronosirius@users.noreply.github.com>
Copy link
Contributor

@shaydewael shaydewael left a comment

Choose a reason for hiding this comment

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

small copy updates

and you don't have to add, but there's also ONBOARDING_PROMPT_DELETE (165) and ONBOARDING_CREATE (166) are marked public and related to the ones you included ;)

docs/resources/Audit_Log.md Outdated Show resolved Hide resolved
docs/resources/Audit_Log.md Outdated Show resolved Hide resolved
docs/resources/Audit_Log.md Outdated Show resolved Hide resolved
docs/resources/Audit_Log.md Outdated Show resolved Hide resolved
@shaydewael shaydewael self-assigned this May 14, 2024
@Puncher1
Copy link
Contributor Author

small copy updates

and you don't have to add, but there's also ONBOARDING_PROMPT_DELETE (165) and ONBOARDING_CREATE (166) are marked public and related to the ones you included ;)

Alright done

@Puncher1 Puncher1 requested a review from shaydewael May 16, 2024 15:41
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.

None yet

3 participants