Rapptz
ab265dcb7c
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
c2f9e0be43
Add additional audit log types for automod
3 years ago
z03h
1097e1d975
Add mention_spam automod trigger and change default values
3 years ago
z03h
afcec46dfd
Fix Sticker Objects type being StageInstance
3 years ago
z03h
dc81ff76c4
Add Object.type to Objects where a type can be determined
3 years ago
z03h
ca1365d7ef
Set allow_list for fetched AutoModRules
3 years ago
z03h
04aeff660b
Add automod types to audit log
3 years ago
z03h
3b5cd3b92c
Fix audit log for multiple app command permission updates
3 years ago
Alex Nørgaard
5426d19dc7
Implement AutoMod
3 years ago
Soheab
3aa55ba1ed
Implement Application Command Permissions models
3 years ago
NextChai
d16e0cbe61
Add PartialIntegration to TargetType
3 years ago
Rapptz
b7e25645dc
Fix audit log bulk message delete not exposing count
3 years ago
z03h
619bc50e5d
Add application command permissions to audit log
3 years ago
z03h
58036ceeb8
Fix attribute error for role overwrite auditlog and add threads
3 years ago
jack1142
5ffa3e85de
Update comments after `# type: ignore` to be compatible with PEP 484
3 years ago
z03h
8993b7f5fe
Add cover_image to AuditLogDiff
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
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
z03h
304229071f
Add VoiceChannel.video_quality_mode
4 years ago
Rapptz
40cf397ce6
Permission related fixes for v8
4 years ago
Rapptz
d85805ab6d
First pass at supporting v8 API
4 years ago
Nadir Chowdhury
3e92196a2b
Add typings for audit logs, integrations, and webhooks
4 years ago
Rapptz
99fc950510
Use f-strings in more places that were missed.
4 years ago
Nadir Chowdhury
89456022cf
Add `__all__` to remaining modules
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Nadir Chowdhury
31bbf7434b
Allow AuditLogEntry to be Hashable
4 years ago
Nadir Chowdhury
63ec23bac2
Code optimisations and refactoring via Sourcery
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Josh B
7df5effbb7
Add new audit log entry types. Fix issue with unknown entry types
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
2cd6d771ec
Make __repr__ slightly more detailed and add a few missing ones.
This includes raw events (which didn't have any) and a few other
types that were missing them. Upon review some more useful fields were
added to the repr output which would be more useful during debugging.
6 years ago
Rapptz
6f26a4aad8
Improve performance of value -> enum by about 5x.
6 years ago