dolfies
5a86410ceb
Fix more circular imports
2 years ago
dolfies
01dfde9648
Add helper for checking if an application has a bot
2 years ago
Lilly Rose Berner
7d852eae78
Fix AutoMod audit log entry error due to empty channel_id
2 years ago
Rapptz
2a2e95567b
Fix AuditLogEntry.target being None for invites
Fix #9336
2 years ago
z03h
8dc160689c
Convert Webhook targets in AuditlogEntry
2 years ago
dolfies
c34e5bfd6e
Implement standalone create/edit/delete forum tag endpoints
2 years ago
Rapptz
1a4b2b7440
Fix crash from Discord sending null channel_id for automod audit logs
2 years ago
Rapptz
d3655338ef
Avoid converting target_id if it's None
2 years ago
o-wo
a6dd1fec73
Fix AuditLogDiff.type for webhooks
2 years ago
z03h
1015c23a44
Fix AuditLogDiff.type for integrations
2 years ago
Rapptz
b692254dca
Add missing AuditLogEntry.guild documentation
2 years ago
Rapptz
ad56fa8a13
Use Mapping instead of Dict for AuditLogEntry inner cache data
2 years ago
z03h
5c93f87945
Fix trigger missing regex_filter and allow_list in audit log
2 years ago
Steve C
4d7f60c6d7
Fix 2 incorrect types for audit log converters
2 years ago
Zephyrkul
5f2f2bea88
Fall back to Object for AuditLogEntry.target
Co-authored-by: zephyrkul <[email protected] >
2 years ago
Rapptz
dbc3363c17
Update type hints in AuditLogEntry.user and AuditLogEntry.user_id
2 years ago
Rapptz
0dc05ae5e2
Add support for on_audit_log_entry_create event
2 years ago
Rapptz
ba901066ff
Add support for newest ForumChannel changes
This adds the following:
- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
3 years ago
Josh
72798fbdd2
Add additional audit log types for automod
3 years ago
z03h
7d7be56eb6
Add mention_spam automod trigger and change default values
3 years ago
z03h
ede86ba68d
Fix Sticker Objects type being StageInstance
3 years ago
z03h
39a3fc341f
Add Object.type to Objects where a type can be determined
3 years ago
z03h
ce14c34468
Set allow_list for fetched AutoModRules
3 years ago
z03h
55ae37f65e
Add automod types to audit log
3 years ago
Alex Nørgaard
d61ccf7931
Implement AutoMod
3 years ago
Rapptz
5c67cb5e64
Fix audit log bulk message delete not exposing count
3 years ago
NextChai
bd75e39516
Add PartialIntegration to TargetType
3 years ago
z03h
4aa926a503
Fix attribute error for role overwrite auditlog and add threads
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
Alex Nørgaard
7a815a97af
Fix audit logs for INVITE_CREATE returning None
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Alex Nørgaard
4c00b8110c
Add audit log event transformer for AuditLogEntry.target
3 years ago
Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
3 years ago
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.
3 years ago
mniip
ff90e7e747
GUILD_UPDATE audit logs
3 years ago
Josh
437d451d4e
Fix typing in Audit Logs
3 years ago
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.
3 years ago
Josh
352dcf9557
Add missing audit log properties
3 years ago
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
3 years ago
dolfies
332e408658
various changes; prepare for scheduled event support
3 years ago
dolfies
d49cb077e7
Formatting
3 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Nadir Chowdhury
154c90ef59
Add audit log events for threads
4 years ago
Rapptz
49f8073262
Fix Permission serialisation in audit logs
Fix #7171
4 years ago
Nadir Chowdhury
c2df574b2a
Add audit log entries for stage instances
4 years ago
Nadir Chowdhury
94bbdc154c
update types subpackage with latest docs
4 years ago
James
369951fd80
Typehint audit_logs.py
4 years ago
Rapptz
d78e5d979d
Refactor and type hint invites
4 years ago
Nadir Chowdhury
51df7496db
Add AuditLogChanges.rules_channel/public_updates_channel
4 years ago
Nadir Chowdhury
1765cdffb1
Use Asset for AuditLogChanges and add more entries
4 years ago