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
19c6687b55
Add support for Modal Interactions
3 years ago
Kowlin
bae0cdf2a7
Add SPAMMER user flag
3 years ago
jack1142
820bde99e1
Add BOT_HTTP_INTERACTIONS user flag
Adds UserFlags.bot_http_interactions and PublicUserFlags.bot_http_interactions
See: discord/discord-api-docs#3903
3 years ago
Sebastian Law
835432d161
Allow enums to be compared
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Nadir Chowdhury
154c90ef59
Add audit log events for threads
4 years ago
Rapptz
5d798aa5e6
Fix some typing errors and reformat enums.py
4 years ago
Rapptz
4f0e907e44
Add ButtonStyle.url alias for ButtonStyle.link
4 years ago
Nadir Chowdhury
f7b0ed7b12
Add ButtonStyle.gray alias
4 years ago
Nadir Chowdhury
c2df574b2a
Add audit log entries for stage instances
4 years ago
Rapptz
4a4e73ec14
Update thread typings and payloads to match documentation
4 years ago
Rapptz
68c7c538f5
First pass at preliminary thread support
This is missing a lot of functionality right now, such as two gateway
events and all the HTTP CRUD endpoints.
4 years ago
Nadir Chowdhury
a7ae2eb1bb
Add Guild.nsfw_level
4 years ago
Rapptz
89d24cb0bc
Add interaction enums to __all__
4 years ago
Nadir Chowdhury
9f98a9a87f
Implement StageInstance
4 years ago
Rapptz
267fad9180
Add WebhookType.application
4 years ago
Zomatree
b48f510e15
Add invite targets for voice channel invites
4 years ago
Rapptz
ff36aedf7b
Add support for reading SelectMenu components from messages
4 years ago
Rapptz
3b83f60b35
Add support for setting interaction responses
4 years ago
Rapptz
80fd222ca0
Add aliases for button style colours
4 years ago
Rapptz
eda6680377
Rename enums to use official API naming
4 years ago
Rapptz
98570793e4
Add initial support for buttons and components
4 years ago
Stanisław Jelnicki
67aabc3230
Remove VerificationLevel aliases
4 years ago
Stanisław Jelnicki
65439732b3
Add Discord Certified Moderator user flag
4 years ago
Rapptz
b32ad3de37
Fix AuditLogEntry.target being incorrect for bulk message delete
Fixes #6851
4 years ago
sudosnok
67abfea61a
Add target_user and target_type to Invite objects
4 years ago
Nadir Chowdhury
95777230b0
Add `MessageType.guild_invite_reminder`
4 years ago
z03h
304229071f
Add VoiceChannel.video_quality_mode
4 years ago
NCPlayz
4c565e5299
add reply and application_command types
4 years ago
Rapptz
72275a73fa
Use non-underscore TypeVar in enum code
4 years ago
Rapptz
008432c76a
Make enum code work with typecheckers
This also makes it so invalid enum values fall back to a proxy type
that still works similar to actual values.
4 years ago
Rapptz
8cece19b22
Add on_interaction event and Interaction class.
This is the first pass at the functionality. It's currently a bit
incomplete.
4 years ago
Rapptz
54288879e2
Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
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
1b2688518e
Implement StageChannel and related methods
4 years ago
Nadir Chowdhury
6f748e5da5
Add remaining v6 message types
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
bd6ab93348
Code cleanup involving enums and message replies
4 years ago
Rapptz
c8954906cb
Sticker implementation cleanup
4 years ago
Zomatree
344cb96c5d
Add sticker support
4 years ago
Rapptz
23ae084b8c
Allow finer grained control over the member cache.
5 years ago
iDutchy
cc26499237
Add competing activity type
5 years ago
Patrick
9121441315
Add South Korea VoiceRegion
5 years ago
Nadir Chowdhury
360fc123c6
Add remaining user flags
5 years ago
Nadir Chowdhury
a64006ee9b
Add support for integrations
5 years ago
JohnyTheCarrot
ab5f995d78
Add support for public user flags
5 years ago
apple502j
6d0db182b9
Add new alias VerificationLevel.very_high
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Rapptz
a841efa087
Add support for custom activities
It's been long enough.
Fixes #2400
5 years ago