Lilly Rose Berner
34a434b2af
Fix AutoMod audit log entry error due to empty channel_id
2023-05-02 20:19:21 -04:00
Rapptz
cb6170a724
Fix AuditLogEntry.target being None for invites
...
Fix #9336
2023-04-18 06:16:42 -04:00
z03h
2247ffd9b5
Convert Webhook targets in AuditlogEntry
2023-04-18 00:36:53 -04:00
Rapptz
ebc1bc3cbb
Fix crash from Discord sending null channel_id for automod audit logs
2023-03-28 04:10:59 -04:00
Rapptz
517d7ae4fe
Avoid converting target_id if it's None
2023-02-25 06:05:16 -05:00
o-wo
b19897fce1
Fix AuditLogDiff.type for webhooks
2023-02-21 17:31:01 -05:00
Rapptz
1395d3b495
Fix NameError in audit log target for app commands
2023-02-09 06:14:27 -05:00
z03h
39f1f84718
Fix AuditLogDiff.type for integrations
2023-01-22 09:01:15 -05:00
Rapptz
aa981ade1d
Add missing AuditLogEntry.guild documentation
2023-01-21 00:04:08 -05:00
Rapptz
68c929cddf
Use Mapping instead of Dict for AuditLogEntry inner cache data
2023-01-16 22:03:31 -05:00
z03h
0cd24b73f7
Fix trigger missing regex_filter and allow_list in audit log
2023-01-14 07:59:42 -05:00
Steve C
f950019c75
Fix 2 incorrect types for audit log converters
2023-01-12 23:38:52 -05:00
Zephyrkul
509a5d771f
Fall back to Object for AuditLogEntry.target
...
Co-authored-by: zephyrkul <zephyrkul@users.noreply.github.com>
2023-01-12 20:27:28 -05:00
Rapptz
d11c42c2e6
Update type hints in AuditLogEntry.user and AuditLogEntry.user_id
2023-01-12 18:21:01 -05:00
Rapptz
2869d8000d
Add support for on_audit_log_entry_create event
2023-01-12 18:16:36 -05:00
Rapptz
ab265dcb7c
Add support for newest ForumChannel changes
...
This adds the following:
- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
2022-08-31 11:09:56 -04:00
Josh
c2f9e0be43
Add additional audit log types for automod
2022-08-28 02:08:05 -04:00
z03h
1097e1d975
Add mention_spam automod trigger and change default values
2022-08-16 16:58:59 -04:00
z03h
afcec46dfd
Fix Sticker Objects type being StageInstance
2022-08-09 22:52:30 -04:00
z03h
dc81ff76c4
Add Object.type to Objects where a type can be determined
2022-08-09 08:18:58 -04:00
z03h
ca1365d7ef
Set allow_list for fetched AutoModRules
2022-08-03 20:23:58 -04:00
z03h
04aeff660b
Add automod types to audit log
2022-07-07 19:30:03 -04:00
z03h
3b5cd3b92c
Fix audit log for multiple app command permission updates
2022-06-29 22:20:23 -04:00
Alex Nørgaard
5426d19dc7
Implement AutoMod
2022-06-27 00:47:52 -04:00
Soheab
3aa55ba1ed
Implement Application Command Permissions models
2022-06-07 01:35:33 -04:00
NextChai
d16e0cbe61
Add PartialIntegration to TargetType
2022-05-17 03:32:52 -04:00
Rapptz
b7e25645dc
Fix audit log bulk message delete not exposing count
2022-05-14 09:36:28 -04:00
z03h
619bc50e5d
Add application command permissions to audit log
2022-05-01 18:59:57 -04:00
z03h
58036ceeb8
Fix attribute error for role overwrite auditlog and add threads
2022-04-30 07:54:01 -04:00
jack1142
5ffa3e85de
Update comments after # type: ignore
to be compatible with PEP 484
2022-03-27 22:26:34 -04:00
z03h
8993b7f5fe
Add cover_image to AuditLogDiff
2022-03-26 08:48:02 -04:00
Alex Nørgaard
7a815a97af
Fix audit logs for INVITE_CREATE returning None
2022-03-22 18:04:52 -04:00
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2022-03-13 23:52:10 -04:00
Alex Nørgaard
4c00b8110c
Add audit log event transformer for AuditLogEntry.target
2022-03-08 21:20:23 -05:00
Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
2022-03-01 01:00:04 -05:00
Rapptz
0eb2f32399
Remove VoiceRegion enum and Guild.region attribute
...
This has been marked deprecated by Discord and it was more or less
usually out of date due to the pace they added them anyway.
2022-02-23 10:03:13 -05:00
mniip
ff90e7e747
GUILD_UPDATE audit logs
2022-02-22 08:48:26 -05:00
Josh
437d451d4e
Fix typing in Audit Logs
2022-02-21 23:32:59 -05:00
Rapptz
88b520b5ab
Reformat code using black
...
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
2022-02-20 08:04:58 -05:00
Josh
352dcf9557
Add missing audit log properties
2022-02-18 20:36:51 -05:00
jack1142
783513726f
Add support for role icons
...
* Document ROLE_ICONS guild feature
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icons
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icon/emoji changes in audit log
https://github.com/discord/discord-api-docs/pull/3847
2022-02-17 11:28:03 -05:00
Nadir Chowdhury
60d82cf908
implement guild stickers
2021-07-30 21:25:41 -04:00
Nadir Chowdhury
154c90ef59
Add audit log events for threads
2021-07-28 19:57:42 -04:00
Rapptz
49f8073262
Fix Permission serialisation in audit logs
...
Fix #7171
2021-07-04 19:13:21 -04:00
Nadir Chowdhury
c2df574b2a
Add audit log entries for stage instances
2021-06-09 08:09:05 -04:00
Nadir Chowdhury
94bbdc154c
update types subpackage with latest docs
2021-06-07 23:20:47 -04:00
James
369951fd80
Typehint audit_logs.py
2021-06-02 02:28:47 -04:00
Rapptz
d78e5d979d
Refactor and type hint invites
2021-05-29 05:49:19 -04:00
Nadir Chowdhury
51df7496db
Add AuditLogChanges.rules_channel/public_updates_channel
2021-05-01 06:47:22 -04:00
Nadir Chowdhury
1765cdffb1
Use Asset for AuditLogChanges and add more entries
2021-04-25 09:53:38 -04:00