-
Notifications
You must be signed in to change notification settings - Fork 185
feat: Add support for the event GUILD_AUDIT_LOG_ENTRY_CREATE
#1221
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
feat: Add support for the event GUILD_AUDIT_LOG_ENTRY_CREATE
#1221
Conversation
Damego
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inner payload is an Audit Log Entry object with an additional
guild_idkey
guild audit log entry create event
Damego
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example of the event payload
{
'action_type': 25,
'changes': [{'key': '$add',
'new_value': [{'id': '855471113685172224',
'name': 'new role'}]}],
'guild_id': '829333896561819648',
'id': '1063731503076491275',
'target_id': '972871411741888572',
'user_id': '143773579320754177'
}|
You could just subclass |
|
I'll just do a subclass |
Co-authored-by: Damego <[email protected]>
guild audit log entry create eventGUILD_AUDIT_LOG_ENTRY_CREATE
About
This pull request is about adding the Guild Audit Log Entry Event
Checklist
pre-commitcode linter has been run over all edited files to ensure the code is linted.3.8.6and higher.versionadded,versionchangedanddeprecatedto any new or changed user-facing function I committed.Pull-Request specification
I've made this pull request: (check all that apply)
This is: